Compartilhar via


ViewGroup.TransitionGroup Property

Definition

Returns true if this ViewGroup should be considered as a single entity for removal when executing an Activity transition. -or- Changes whether or not this ViewGroup should be treated as a single entity during Activity Transitions.

public virtual bool TransitionGroup { [Android.Runtime.Register("isTransitionGroup", "()Z", "GetIsTransitionGroupHandler")] get; [Android.Runtime.Register("setTransitionGroup", "(Z)V", "GetSetTransitionGroup_ZHandler")] set; }
[<get: Android.Runtime.Register("isTransitionGroup", "()Z", "GetIsTransitionGroupHandler")>]
[<set: Android.Runtime.Register("setTransitionGroup", "(Z)V", "GetSetTransitionGroup_ZHandler")>]
member this.TransitionGroup : bool with get, set

Property Value

True if the ViewGroup should be acted on together during an Activity transition. The default value is true when there is a non-null background or if #getTransitionName() is not null or if a non-null android.view.ViewOutlineProvider other than android.view.ViewOutlineProvider#BACKGROUND was given to #setOutlineProvider(ViewOutlineProvider) and false otherwise.

Attributes

Remarks

Property getter documentation:

Returns true if this ViewGroup should be considered as a single entity for removal when executing an Activity transition. If this is false, child elements will move individually during the transition.

Java documentation for android.view.ViewGroup.isTransitionGroup().

Property setter documentation:

Changes whether or not this ViewGroup should be treated as a single entity during Activity Transitions.

Java documentation for android.view.ViewGroup.setTransitionGroup(boolean).

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