Google is committed to advancing racial equity for Black communities. See how.

ChangeTransform

open class ChangeTransform : Transition
kotlin.Any
   ↳ androidx.transition.Transition
   ↳ androidx.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
Public constructors

<init>(@NonNull context: Context, @NonNull attrs: AttributeSet)

Public methods
open Unit
captureEndValues(@NonNull transitionValues: TransitionValues)

open Unit
captureStartValues(@NonNull transitionValues: TransitionValues)

open Animator?
createAnimator(@NonNull sceneRoot: ViewGroup, @Nullable startValues: TransitionValues?, @Nullable endValues: TransitionValues?)

open Boolean

Returns whether parent changes will be tracked by the ChangeTransform.

open Boolean

Returns whether changes to parent should use an overlay or not.

open Array<String!>

open Unit
setReparent(reparent: Boolean)

Sets whether parent changes will be tracked by the ChangeTransform.

open Unit
setReparentWithOverlay(reparentWithOverlay: Boolean)

Sets whether changes to parent should use an overlay or not.

Inherited functions