共用方式為


Window.SharedElementReenterTransition Property

Definition

Returns the Transition that will be used for shared elements reentering from a started Activity after it has returned the shared element to it start location. -or- Sets the Transition that will be used for shared elements reentering from a started Activity after it has returned the shared element to it start location.

public virtual Android.Transitions.Transition? SharedElementReenterTransition { [Android.Runtime.Register("getSharedElementReenterTransition", "()Landroid/transition/Transition;", "GetGetSharedElementReenterTransitionHandler")] get; [Android.Runtime.Register("setSharedElementReenterTransition", "(Landroid/transition/Transition;)V", "GetSetSharedElementReenterTransition_Landroid_transition_Transition_Handler")] set; }
[<get: Android.Runtime.Register("getSharedElementReenterTransition", "()Landroid/transition/Transition;", "GetGetSharedElementReenterTransitionHandler")>]
[<set: Android.Runtime.Register("setSharedElementReenterTransition", "(Landroid/transition/Transition;)V", "GetSetSharedElementReenterTransition_Landroid_transition_Transition_Handler")>]
member this.SharedElementReenterTransition : Android.Transitions.Transition with get, set

Property Value

the Transition that will be used for shared elements reentering from a started Activity after it has returned the shared element to it start location.

Attributes

Remarks

Property getter documentation:

Returns the Transition that will be used for shared elements reentering from a started Activity after it has returned the shared element to it start location. Requires #FEATURE_ACTIVITY_TRANSITIONS.

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

Property setter documentation:

Sets the Transition that will be used for shared elements reentering from a started Activity after it has returned the shared element to it start location. If no value is set, this will default to #setSharedElementExitTransition(android.transition.Transition). Requires #FEATURE_ACTIVITY_TRANSITIONS.

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