LayoutAnimationController.SetAnimation(Context, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將動畫設定為在這個版面動畫控制器所在的視圖群組的每個子節點上執行。
[Android.Runtime.Register("setAnimation", "(Landroid/content/Context;I)V", "GetSetAnimation_Landroid_content_Context_IHandler")]
public virtual void SetAnimation(Android.Content.Context? context, int resourceID);
[<Android.Runtime.Register("setAnimation", "(Landroid/content/Context;I)V", "GetSetAnimation_Landroid_content_Context_IHandler")>]
abstract member SetAnimation : Android.Content.Context * int -> unit
override this.SetAnimation : Android.Content.Context * int -> unit
參數
- context
- Context
動畫必須從中膨脹的情境
- resourceID
- Int32
動畫的資源識別碼
- 屬性
備註
將動畫設定為在這個版面動畫控制器所在的視圖群組的每個子節點上執行。
Java 文件 android.view.animation.LayoutAnimationController.setAnimation(android.content.Context, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。