LayoutTransition.EnableTransitionType(LayoutTransitionType) Method

Definition

Enables the specified transitionType for this LayoutTransition object.

[Android.Runtime.Register("enableTransitionType", "(I)V", "GetEnableTransitionType_IHandler")]
public virtual void EnableTransitionType (Android.Animation.LayoutTransitionType transitionType);
[<Android.Runtime.Register("enableTransitionType", "(I)V", "GetEnableTransitionType_IHandler")>]
abstract member EnableTransitionType : Android.Animation.LayoutTransitionType -> unit
override this.EnableTransitionType : Android.Animation.LayoutTransitionType -> unit

Parameters

transitionType
LayoutTransitionType

One of #CHANGE_APPEARING, #CHANGE_DISAPPEARING, #CHANGING, #APPEARING, or #DISAPPEARING.

Attributes

Remarks

Enables the specified transitionType for this LayoutTransition object. By default, a LayoutTransition listens for changes in children being added/remove/hidden/shown in the container, and runs the animations associated with those events. That is, all transition types besides #CHANGING are enabled by default. You can also enable #CHANGING animations by calling this method with the #CHANGING transitionType.

Java documentation for android.animation.LayoutTransition.enableTransitionType(int).

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