ChangeClipBounds

public class ChangeClipBounds
extends Transition

java.lang.Object
   ↳ androidx.transition.Transition
     ↳ androidx.transition.ChangeClipBounds


ChangeClipBounds captures the View.getClipBounds() before and after the scene change and animates those changes during the transition.

Prior to API 18 this does nothing.

Summary

Inherited constants

Public constructors

ChangeClipBounds()
ChangeClipBounds(Context context, AttributeSet attrs)

Public methods

void captureEndValues(TransitionValues transitionValues)

Captures the values in the end scene for the properties that this transition monitors.

void captureStartValues(TransitionValues transitionValues)

Captures the values in the start scene for the properties that this transition monitors.

Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, TransitionValues endValues)

This method creates an animation that will be run for this transition given the information in the startValues and endValues structures captured earlier for the start and end scenes.

String[] getTransitionProperties()

Returns the set of property names used stored in the TransitionValues object passed into captureStartValues(TransitionValues) that this transition cares about for the purposes of canceling overlapping animations.

Inherited methods