Udostępnij za pośrednictwem


Fragment.SharedElementReturnTransition Property

Definition

Return the Transition that will be used for shared elements transferred back during a pop of the back stack. -or- Sets the Transition that will be used for shared elements transferred back during a pop of the back stack.

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

The Transition to use for shared elements transferred out of the content Scene.

Attributes

Remarks

Property getter documentation:

Return the Transition that will be used for shared elements transferred back during a pop of the back stack. This Transition acts in the leaving Fragment. 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).

Java documentation for android.app.Fragment.getSharedElementReturnTransition().

Property setter documentation:

Sets the Transition that will be used for shared elements transferred back during a pop of the back stack. This Transition acts in the leaving Fragment. 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).

Java documentation for android.app.Fragment.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