Window.SetWindowAnimations(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
請指定視窗的自訂動畫,依照 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 所創建與分享的作品,並依授權條款所描述的使用進行修改。