Dela via


Fragment.SharedElementEnterTransition Property

Definition

Returns the Transition that will be used for shared elements transferred into the content Scene. -or- Sets the Transition that will be used for shared elements transferred into the content Scene.

public virtual Android.Transitions.Transition? SharedElementEnterTransition { [Android.Runtime.Register("getSharedElementEnterTransition", "()Landroid/transition/Transition;", "GetGetSharedElementEnterTransitionHandler")] get; [Android.Runtime.Register("setSharedElementEnterTransition", "(Landroid/transition/Transition;)V", "GetSetSharedElementEnterTransition_Landroid_transition_Transition_Handler")] set; }
[<get: Android.Runtime.Register("getSharedElementEnterTransition", "()Landroid/transition/Transition;", "GetGetSharedElementEnterTransitionHandler")>]
[<set: Android.Runtime.Register("setSharedElementEnterTransition", "(Landroid/transition/Transition;)V", "GetSetSharedElementEnterTransition_Landroid_transition_Transition_Handler")>]
member this.SharedElementEnterTransition : Android.Transitions.Transition with get, set

Property Value

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

Attributes

Remarks

Property getter documentation:

Returns the Transition that will be used for shared elements transferred into the content Scene. 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.

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

Property setter documentation:

Sets the Transition that will be used for shared elements transferred into the content Scene. 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.

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