belongs to Maven artifact com.android.support:transition:28.0.0-alpha1
ChangeBounds
public
class
ChangeBounds
extends Transition
java.lang.Object | ||
↳ | android.support.transition.Transition | |
↳ | android.support.transition.ChangeBounds |
This transition captures the layout bounds of target views before and after the scene change and animates those changes during the transition.
A ChangeBounds transition can be described in a resource file by using the
tag changeBounds
, along with the other standard attributes of Transition.
Summary
Inherited constants |
---|
![]()
android.support.transition.Transition
|
Public constructors | |
---|---|
ChangeBounds()
|
|
ChangeBounds(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. |
boolean
|
getResizeClip()
Returns true when the ChangeBounds will resize by changing the clip bounds during the view animation or false when bounds are changed. |
String[]
|
getTransitionProperties()
Returns the set of property names used stored in the |
void
|
setResizeClip(boolean resizeClip)
When |
Inherited methods | |
---|---|
![]()
android.support.transition.Transition
|