belongs to Maven artifact com.android.support:transition:28.0.0-alpha1
ChangeTransform
public
class
ChangeTransform
extends Transition
java.lang.Object | ||
↳ | android.support.transition.Transition | |
↳ | android.support.transition.ChangeTransform |
This Transition captures scale and rotation for Views before and after the scene change and animates those changes during the transition. A change in parent is handled as well by capturing the transforms from the parent before and after the scene change and animating those during the transition.
Summary
Inherited constants |
---|
![]()
android.support.transition.Transition
|
Public constructors | |
---|---|
ChangeTransform()
|
|
ChangeTransform(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
|
getReparent()
Returns whether parent changes will be tracked by the ChangeTransform. |
boolean
|
getReparentWithOverlay()
Returns whether changes to parent should use an overlay or not. |
String[]
|
getTransitionProperties()
Returns the set of property names used stored in the |
void
|
setReparent(boolean reparent)
Sets whether parent changes will be tracked by the ChangeTransform. |
void
|
setReparentWithOverlay(boolean reparentWithOverlay)
Sets whether changes to parent should use an overlay or not. |
Inherited methods | |
---|---|
![]()
android.support.transition.Transition
| |
![]()
java.lang.Object
|