Aracılığıyla paylaş


Activity.ContentTransitionManager Property

Definition

Retrieve the TransitionManager responsible for default transitions in this window. -or- Set the TransitionManager to use for default transitions in this window.

public virtual Android.Transitions.TransitionManager? ContentTransitionManager { [Android.Runtime.Register("getContentTransitionManager", "()Landroid/transition/TransitionManager;", "GetGetContentTransitionManagerHandler")] get; [Android.Runtime.Register("setContentTransitionManager", "(Landroid/transition/TransitionManager;)V", "GetSetContentTransitionManager_Landroid_transition_TransitionManager_Handler")] set; }
[<get: Android.Runtime.Register("getContentTransitionManager", "()Landroid/transition/TransitionManager;", "GetGetContentTransitionManagerHandler")>]
[<set: Android.Runtime.Register("setContentTransitionManager", "(Landroid/transition/TransitionManager;)V", "GetSetContentTransitionManager_Landroid_transition_TransitionManager_Handler")>]
member this.ContentTransitionManager : Android.Transitions.TransitionManager with get, set

Property Value

This window's content TransitionManager or null if none is set.

Attributes

Remarks

Property getter documentation:

Retrieve the TransitionManager responsible for default transitions in this window. Requires Window#FEATURE_CONTENT_TRANSITIONS.

This method will return non-null after content has been initialized (e.g. by using #setContentView) if Window#FEATURE_CONTENT_TRANSITIONS has been granted.

Java documentation for android.app.Activity.getContentTransitionManager().

Property setter documentation:

Set the TransitionManager to use for default transitions in this window. Requires Window#FEATURE_CONTENT_TRANSITIONS.

Java documentation for android.app.Activity.setContentTransitionManager(android.transition.TransitionManager).

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