Partager via


LayoutAnimationController Constructors

Definition

Overloads

LayoutAnimationController(Animation)

Creates a new layout animation controller with a delay of 50% and the specified animation.

LayoutAnimationController(Context, IAttributeSet)

Creates a new layout animation controller from external resources.

LayoutAnimationController(Animation, Single)

Creates a new layout animation controller with the specified delay and the specified animation.

LayoutAnimationController(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

LayoutAnimationController(Animation)

Creates a new layout animation controller with a delay of 50% and the specified animation.

[Android.Runtime.Register(".ctor", "(Landroid/view/animation/Animation;)V", "")]
public LayoutAnimationController (Android.Views.Animations.Animation? animation);
[<Android.Runtime.Register(".ctor", "(Landroid/view/animation/Animation;)V", "")>]
new Android.Views.Animations.LayoutAnimationController : Android.Views.Animations.Animation -> Android.Views.Animations.LayoutAnimationController

Parameters

animation
Animation

the animation to use on each child of the view group

Attributes

Remarks

Creates a new layout animation controller with a delay of 50% and the specified animation.

Java documentation for android.view.animation.LayoutAnimationController.LayoutAnimationController(android.view.animation.Animation).

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

LayoutAnimationController(Context, IAttributeSet)

Creates a new layout animation controller from external resources.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public LayoutAnimationController (Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Views.Animations.LayoutAnimationController : Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.Animations.LayoutAnimationController

Parameters

context
Context

the Context the view group is running in, through which it can access the resources

attrs
IAttributeSet

the attributes of the XML tag that is inflating the layout animation controller

Attributes

Remarks

Creates a new layout animation controller from external resources.

Java documentation for android.view.animation.LayoutAnimationController.LayoutAnimationController(android.content.Context, android.util.AttributeSet).

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

LayoutAnimationController(Animation, Single)

Creates a new layout animation controller with the specified delay and the specified animation.

[Android.Runtime.Register(".ctor", "(Landroid/view/animation/Animation;F)V", "")]
public LayoutAnimationController (Android.Views.Animations.Animation? animation, float delay);
[<Android.Runtime.Register(".ctor", "(Landroid/view/animation/Animation;F)V", "")>]
new Android.Views.Animations.LayoutAnimationController : Android.Views.Animations.Animation * single -> Android.Views.Animations.LayoutAnimationController

Parameters

animation
Animation

the animation to use on each child of the view group

delay
Single

the delay by which each child's animation must be offset

Attributes

Remarks

Creates a new layout animation controller with the specified delay and the specified animation.

Java documentation for android.view.animation.LayoutAnimationController.LayoutAnimationController(android.view.animation.Animation, float).

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

LayoutAnimationController(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected LayoutAnimationController (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.Animations.LayoutAnimationController : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.Animations.LayoutAnimationController

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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