LayoutAnimationController.SetAnimation(Context, Int32) メソッド

定義

このレイアウト アニメーション コントローラーが であるビュー グループの各子で実行するアニメーションを設定します。

[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

アニメーションのリソース識別子

属性

注釈

このレイアウト アニメーション コントローラーが であるビュー グループの各子で実行するアニメーションを設定します。

android.view.animation.LayoutAnimationController.setAnimation(android.content.Context, int)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

こちらもご覧ください