Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

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>(context: Context!, attrs: AttributeSet!)

Public methods

open Unit
captureEndValues(@NonNull transitionValues: TransitionValues)

open Unit
captureStartValues(@NonNull transitionValues: TransitionValues)

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

open Array<String!>?

Inherited functions

Public constructors

<init>

ChangeClipBounds()

<init>

ChangeClipBounds(context: Context!, attrs: AttributeSet!)

Public methods

captureEndValues

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

captureStartValues

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

createAnimator

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

getTransitionProperties

open fun getTransitionProperties(): Array<String!>?