Udostępnij za pośrednictwem


Window.SharedElementEnterTransition Property

Definition

Returns the Transition that will be used for shared elements transferred into the content Scene. -or- Sets the Transition that will be used for shared elements transferred into the content Scene.

public virtual Android.Transitions.Transition? SharedElementEnterTransition { [Android.Runtime.Register("getSharedElementEnterTransition", "()Landroid/transition/Transition;", "GetGetSharedElementEnterTransitionHandler")] get; [Android.Runtime.Register("setSharedElementEnterTransition", "(Landroid/transition/Transition;)V", "GetSetSharedElementEnterTransition_Landroid_transition_Transition_Handler")] set; }
[<get: Android.Runtime.Register("getSharedElementEnterTransition", "()Landroid/transition/Transition;", "GetGetSharedElementEnterTransitionHandler")>]
[<set: Android.Runtime.Register("setSharedElementEnterTransition", "(Landroid/transition/Transition;)V", "GetSetSharedElementEnterTransition_Landroid_transition_Transition_Handler")>]
member this.SharedElementEnterTransition : Android.Transitions.Transition with get, set

Property Value

Transition to use for sharend elements transferred into the content Scene.

Attributes

Remarks

Property getter documentation:

Returns the Transition that will be used for shared elements transferred into the content Scene. Requires #FEATURE_ACTIVITY_TRANSITIONS.

Java documentation for android.view.Window.getSharedElementEnterTransition().

Property setter documentation:

Sets the Transition that will be used for shared elements transferred into the content Scene. Typical Transitions will affect size and location, such as android.transition.ChangeBounds. A null value will cause transferred shared elements to blink to the final position. Requires #FEATURE_ACTIVITY_TRANSITIONS.

Java documentation for android.view.Window.setSharedElementEnterTransition(android.transition.Transition).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to