ViewGroup.LayoutTransition Property

Definition

Gets the LayoutTransition object for this ViewGroup. -or- Sets the LayoutTransition object for this ViewGroup.

public virtual Android.Animation.LayoutTransition? LayoutTransition { [Android.Runtime.Register("getLayoutTransition", "()Landroid/animation/LayoutTransition;", "GetGetLayoutTransitionHandler")] get; [Android.Runtime.Register("setLayoutTransition", "(Landroid/animation/LayoutTransition;)V", "GetSetLayoutTransition_Landroid_animation_LayoutTransition_Handler")] set; }
[<get: Android.Runtime.Register("getLayoutTransition", "()Landroid/animation/LayoutTransition;", "GetGetLayoutTransitionHandler")>]
[<set: Android.Runtime.Register("setLayoutTransition", "(Landroid/animation/LayoutTransition;)V", "GetSetLayoutTransition_Landroid_animation_LayoutTransition_Handler")>]
member this.LayoutTransition : Android.Animation.LayoutTransition with get, set

Property Value

LayoutTranstion The LayoutTransition object that will animated changes in layout. A value of null means no transition will run on layout changes.

Attributes

Remarks

Property getter documentation:

Gets the LayoutTransition object for this ViewGroup. If the LayoutTransition object is not null, changes in layout which occur because of children being added to or removed from the ViewGroup will be animated according to the animations defined in that LayoutTransition object. By default, the transition object is null (so layout changes are not animated).

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

Property setter documentation:

Sets the LayoutTransition object for this ViewGroup. If the LayoutTransition object is not null, changes in layout which occur because of children being added to or removed from the ViewGroup will be animated according to the animations defined in that LayoutTransition object. By default, the transition object is null (so layout changes are not animated).

Replacing a non-null transition will cause that previous transition to be canceled, if it is currently running, to restore this container to its correct post-transition state.

Java documentation for android.view.ViewGroup.setLayoutTransition(android.animation.LayoutTransition).

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