语言

ViewAnimator.SetInAnimation(Context, Int32) 方法

定义

指定用于对进入屏幕的视图进行动画处理的动画。

[Android.Runtime.Register("setInAnimation", "(Landroid/content/Context;I)V", "GetSetInAnimation_Landroid_content_Context_IHandler")]
public virtual void SetInAnimation(Android.Content.Context? context, int resourceID);
[<Android.Runtime.Register("setInAnimation", "(Landroid/content/Context;I)V", "GetSetInAnimation_Landroid_content_Context_IHandler")>]
abstract member SetInAnimation : Android.Content.Context * int -> unit
override this.SetInAnimation : Android.Content.Context * int -> unit

参数

context
Context

应用程序的环境。

resourceID
Int32

动画的资源 ID。

属性

注解

指定用于对进入屏幕的视图进行动画处理的动画。

Java文档android.widget.ViewAnimator.setInAnimation(android.content.Context, int)。

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

适用于

另请参阅