Udostępnij za pośrednictwem


Window.ReenterTransition Property

Definition

Returns the Transition that will be used to move Views in to the scene when returning from a previously-started Activity. -or- Sets the Transition that will be used to move Views in to the scene when returning from a previously-started Activity.

public virtual Android.Transitions.Transition? ReenterTransition { [Android.Runtime.Register("getReenterTransition", "()Landroid/transition/Transition;", "GetGetReenterTransitionHandler")] get; [Android.Runtime.Register("setReenterTransition", "(Landroid/transition/Transition;)V", "GetSetReenterTransition_Landroid_transition_Transition_Handler")] set; }
[<get: Android.Runtime.Register("getReenterTransition", "()Landroid/transition/Transition;", "GetGetReenterTransitionHandler")>]
[<set: Android.Runtime.Register("setReenterTransition", "(Landroid/transition/Transition;)V", "GetSetReenterTransition_Landroid_transition_Transition_Handler")>]
member this.ReenterTransition : Android.Transitions.Transition with get, set

Property Value

The Transition to use to move Views into the scene when reentering from a previously-started Activity.

Attributes

Remarks

Property getter documentation:

Returns the Transition that will be used to move Views in to the scene when returning from a previously-started Activity. The entering Views will be those that are regular Views or ViewGroups that have ViewGroup#isTransitionGroup return true. Typical Transitions will extend android.transition.Visibility as exiting is governed by changing visibility from View#VISIBLE to View#INVISIBLE. Requires #FEATURE_ACTIVITY_TRANSITIONS.

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

Property setter documentation:

Sets the Transition that will be used to move Views in to the scene when returning from a previously-started Activity. The entering Views will be those that are regular Views or ViewGroups that have ViewGroup#isTransitionGroup return true. Typical Transitions will extend android.transition.Visibility as exiting is governed by changing visibility from View#VISIBLE to View#INVISIBLE. If transition is null, the views will remain unaffected. If nothing is set, the default will be to use the same transition as #setExitTransition(android.transition.Transition). Requires #FEATURE_ACTIVITY_TRANSITIONS.

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