Language

Fragment.ExitTransition Property

Definition

Returns the Transition that will be used to move Views out of the scene when the fragment is removed, hidden, or detached when not popping the back stack. -or- Sets the Transition that will be used to move Views out of the scene when the fragment is removed, hidden, or detached when not popping the back stack.

public virtual Android.Transitions.Transition? ExitTransition { [Android.Runtime.Register("getExitTransition", "()Landroid/transition/Transition;", "GetGetExitTransitionHandler")] get; [Android.Runtime.Register("setExitTransition", "(Landroid/transition/Transition;)V", "GetSetExitTransition_Landroid_transition_Transition_Handler")] set; }
[<get: Android.Runtime.Register("getExitTransition", "()Landroid/transition/Transition;", "GetGetExitTransitionHandler")>]
[<set: Android.Runtime.Register("setExitTransition", "(Landroid/transition/Transition;)V", "GetSetExitTransition_Landroid_transition_Transition_Handler")>]
member this.ExitTransition : Android.Transitions.Transition with get, set

Property Value

the Transition to use to move Views out of the Scene when the Fragment is being closed not due to popping the back stack.

Attributes

Remarks

Returns the transition used to move views out of the scene when the fragment is removed, hidden, or detached without popping the back stack. The exiting views are regular views or view groups whose TransitionGroup property is true. Typical transitions animate the exiting views as they become invisible. If the transition is null, the views are not animated by an exit transition.

Related XML Attributes:

android:fragmentExitTransition

Android reference for android.app.Fragment.getExitTransition.

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