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

ChangeClipBounds

open class ChangeClipBounds : Transition
kotlin.Any
   ↳ androidx.transition.Transition
   ↳ androidx.transition.ChangeClipBounds

ChangeClipBounds captures the android.view.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

<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 Array<String!>

Inherited functions

Public constructors

<init>

ChangeClipBounds()

<init>

ChangeClipBounds(
    @NonNull context: Context,
    @NonNull attrs: AttributeSet)

Public methods

captureEndValues

open fun captureEndValues(@NonNull transitionValues: TransitionValues): Unit

captureStartValues

open fun captureStartValues(@NonNull transitionValues: TransitionValues): Unit

createAnimator

@Nullable open fun createAnimator(
    @NonNull sceneRoot: ViewGroup,
    @Nullable startValues: <