Sdílet prostřednictvím


Window.ReturnTransition Property

Definition

Returns the Transition that will be used to move Views out of the scene when the Window is preparing to close, for example after a call to android.app.Activity#finishAfterTransition(). -or- Sets the Transition that will be used to move Views out of the scene when the Window is preparing to close, for example after a call to android.app.Activity#finishAfterTransition().

public virtual Android.Transitions.Transition? ReturnTransition { [Android.Runtime.Register("getReturnTransition", "()Landroid/transition/Transition;", "GetGetReturnTransitionHandler")] get; [Android.Runtime.Register("setReturnTransition", "(Landroid/transition/Transition;)V", "GetSetReturnTransition_Landroid_transition_Transition_Handler")] set; }
[<get: Android.Runtime.Register("getReturnTransition", "()Landroid/transition/Transition;", "GetGetReturnTransitionHandler")>]
[<set: Android.Runtime.Register("setReturnTransition", "(Landroid/transition/Transition;)V", "GetSetReturnTransition_Landroid_transition_Transition_Handler")>]
member this.ReturnTransition : Android.Transitions.Transition with get, set

Property Value

The Transition to use to move Views out of the Scene when the Window is preparing to close.

Attributes

Remarks

Property getter documentation:

Returns the Transition that will be used to move Views out of the scene when the Window is preparing to close, for example after a call to android.app.Activity#finishAfterTransition(). The exiting Views will be those that are regular Views or ViewGroups that have ViewGroup#isTransitionGroup return true. Typical Transitions will extend android.transition.Visibility as entering is governed by changing visibility from View#VISIBLE to View#INVISIBLE.

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

Property setter documentation:

Sets the Transition that will be used to move Views out of the scene when the Window is preparing to close, for example after a call to android.app.Activity#finishAfterTransition(). The exiting Views will be those that are regular Views or ViewGroups that have ViewGroup#isTransitionGroup return true. Typical Transitions will extend android.transition.Visibility as entering is governed by changing visibility from View#VISIBLE to View#INVISIBLE. If transition is null, entering Views will remain unaffected. If nothing is set, the default will be to use the same value as set in #setEnterTransition(android.transition.Transition).

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