语言

ViewAnimator.SetOutAnimation(Context, Int32) 方法

定义

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

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

参数

context
Context

应用程序的环境。

resourceID
Int32

动画的资源 ID。

属性

注解

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

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

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

适用于

另请参阅