Udostępnij za pośrednictwem


Window.SharedElementExitTransition Property

Definition

Returns the Transition to use for shared elements in the launching Window prior to transferring to the launched Activity's Window. -or- Sets the Transition that will be used for shared elements after starting a new Activity before the shared elements are transferred to the called Activity.

public virtual Android.Transitions.Transition? SharedElementExitTransition { [Android.Runtime.Register("getSharedElementExitTransition", "()Landroid/transition/Transition;", "GetGetSharedElementExitTransitionHandler")] get; [Android.Runtime.Register("setSharedElementExitTransition", "(Landroid/transition/Transition;)V", "GetSetSharedElementExitTransition_Landroid_transition_Transition_Handler")] set; }
[<get: Android.Runtime.Register("getSharedElementExitTransition", "()Landroid/transition/Transition;", "GetGetSharedElementExitTransitionHandler")>]
[<set: Android.Runtime.Register("setSharedElementExitTransition", "(Landroid/transition/Transition;)V", "GetSetSharedElementExitTransition_Landroid_transition_Transition_Handler")>]
member this.SharedElementExitTransition : Android.Transitions.Transition with get, set

Property Value

the Transition to use for shared elements in the launching Window prior to transferring to the launched Activity's Window.

Attributes

Remarks

Property getter documentation:

Returns the Transition to use for shared elements in the launching Window prior to transferring to the launched Activity's Window. Requires #FEATURE_ACTIVITY_TRANSITIONS.

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

Property setter documentation:

Sets the Transition that will be used for shared elements after starting a new Activity before the shared elements are transferred to the called Activity. If the shared elements must animate during the exit transition, this Transition should be used. Upon completion, the shared elements may be transferred to the started Activity. Requires #FEATURE_ACTIVITY_TRANSITIONS.

Java documentation for android.view.Window.setSharedElementExitTransition(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