语言

LayoutAnimationController 构造函数

定义

重载

名称 说明
LayoutAnimationController(Animation)

创建一个新的布局动画控制器,延迟为 50% 和指定的动画。

LayoutAnimationController(Context, IAttributeSet)

从外部资源创建新的布局动画控制器。

LayoutAnimationController(Animation, Single)

使用指定的延迟和指定的动画创建新的布局动画控制器。

LayoutAnimationController(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

LayoutAnimationController(Animation)

创建一个新的布局动画控制器,延迟为 50% 和指定的动画。

[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

参数

animation
Animation

要用于视图组的每个子项的动画

特性

注解

创建一个新的布局动画控制器,延迟为 50% 和指定的动画。

Java文档android.view.animation.LayoutAnimationController.LayoutAnimationController(android.view.animation.Animation)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

LayoutAnimationController(Context, IAttributeSet)

从外部资源创建新的布局动画控制器。

[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

参数

context
Context

视图组在其中运行的上下文,通过该上下文可以访问资源

attrs
IAttributeSet

正在膨胀布局动画控制器的 XML 标记的属性

特性

注解

从外部资源创建新的布局动画控制器。

Java文档android.view.animation.LayoutAnimationController.LayoutAnimationController(android.content.Context, android.util.AttributeSet)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

LayoutAnimationController(Animation, Single)

使用指定的延迟和指定的动画创建新的布局动画控制器。

[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

参数

animation
Animation

要用于视图组的每个子项的动画

delay
Single

每个子元素的动画必须偏移的延迟

特性

注解

使用指定的延迟和指定的动画创建新的布局动画控制器。

Java文档android.view.animation.LayoutAnimationController.LayoutAnimationController(android.view.animation.Animation, float)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

LayoutAnimationController(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

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

参数

javaReference
IntPtr

nativeint

IntPtr一个包含 Java 本机接口 (JNI) 对象引用。

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于