語言

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。

屬性

備註

指定用於動畫化視窗離開畫面的動畫。

的 android.widget.ViewAnimator.setOutAnimation(android.content.Context, int)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

另請參閱