共用方式為


Fragment.EnterTransition Property

Definition

Returns the Transition that will be used to move Views into the initial scene. -or- Sets the Transition that will be used to move Views into the initial scene.

public virtual Android.Transitions.Transition? EnterTransition { [Android.Runtime.Register("getEnterTransition", "()Landroid/transition/Transition;", "GetGetEnterTransitionHandler")] get; [Android.Runtime.Register("setEnterTransition", "(Landroid/transition/Transition;)V", "GetSetEnterTransition_Landroid_transition_Transition_Handler")] set; }
[<get: Android.Runtime.Register("getEnterTransition", "()Landroid/transition/Transition;", "GetGetEnterTransitionHandler")>]
[<set: Android.Runtime.Register("setEnterTransition", "(Landroid/transition/Transition;)V", "GetSetEnterTransition_Landroid_transition_Transition_Handler")>]
member this.EnterTransition : Android.Transitions.Transition with get, set

Property Value

the Transition to use to move Views into the initial Scene.

Attributes

Remarks

Property getter documentation:

Returns the Transition that will be used to move Views into the initial scene. 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 entering is governed by changing visibility from View#INVISIBLE to View#VISIBLE.

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

Property setter documentation:

Sets the Transition that will be used to move Views into the initial scene. 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 entering is governed by changing visibility from View#INVISIBLE to View#VISIBLE. If transition is null, entering Views will remain unaffected.

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