6 月 3 日の「#Android11: The Beta Launch Show」にぜひご参加ください。

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!>?