Window.SharedElementReturnTransition Property

Definition

Returns the Transition that will be used for shared elements transferred back to a calling Activity. -or- Sets the Transition that will be used for shared elements transferred back to a calling Activity.

public virtual Android.Transitions.Transition? SharedElementReturnTransition { [Android.Runtime.Register("getSharedElementReturnTransition", "()Landroid/transition/Transition;", "GetGetSharedElementReturnTransitionHandler")] get; [Android.Runtime.Register("setSharedElementReturnTransition", "(Landroid/transition/Transition;)V", "GetSetSharedElementReturnTransition_Landroid_transition_Transition_Handler")] set; }
[<get: Android.Runtime.Register("getSharedElementReturnTransition", "()Landroid/transition/Transition;", "GetGetSharedElementReturnTransitionHandler")>]
[<set: Android.Runtime.Register("setSharedElementReturnTransition", "(Landroid/transition/Transition;)V", "GetSetSharedElementReturnTransition_Landroid_transition_Transition_Handler")>]
member this.SharedElementReturnTransition : 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 back to a calling Activity. Requires #FEATURE_ACTIVITY_TRANSITIONS.

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

Property setter documentation:

Sets the Transition that will be used for shared elements transferred back to a calling Activity. 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. If no value is set, the default will be to use the same value as #setSharedElementEnterTransition(android.transition.Transition). Requires #FEATURE_ACTIVITY_TRANSITIONS.

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