LayoutAnimationController Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.
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.
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
- 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.