語言

Window.SetWindowAnimations(Int32) 方法

定義

請指定視窗的自訂動畫,依照 WindowManager.LayoutParams#windowAnimations WindowManager.LayoutParams.windowAnimations。

[Android.Runtime.Register("setWindowAnimations", "(I)V", "GetSetWindowAnimations_IHandler")]
public virtual void SetWindowAnimations(int resId);
[<Android.Runtime.Register("setWindowAnimations", "(I)V", "GetSetWindowAnimations_IHandler")>]
abstract member SetWindowAnimations : int -> unit
override this.SetWindowAnimations : int -> unit

參數

resId
Int32

System.Int32 用於 res id.

屬性

備註

請指定視窗的自訂動畫,依照 WindowManager.LayoutParams#windowAnimations WindowManager.LayoutParams.windowAnimations。 如果這裡提供 0 以外的任何內容,視窗通常會從主題中擷取的動畫。

Java 文件 android.view.Window.setWindowAnimations(int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於