AnimationUtils.LoadLayoutAnimation(Context, Int32) メソッド

定義

リソースからオブジェクトを LayoutAnimationController 読み込みます

[Android.Runtime.Register("loadLayoutAnimation", "(Landroid/content/Context;I)Landroid/view/animation/LayoutAnimationController;", "")]
public static Android.Views.Animations.LayoutAnimationController? LoadLayoutAnimation (Android.Content.Context? context, int id);
[<Android.Runtime.Register("loadLayoutAnimation", "(Landroid/content/Context;I)Landroid/view/animation/LayoutAnimationController;", "")>]
static member LoadLayoutAnimation : Android.Content.Context * int -> Android.Views.Animations.LayoutAnimationController

パラメーター

context
Context

リソースへのアクセスに使用されるアプリケーション コンテキスト

id
Int32

読み込むアニメーションのリソース ID

戻り値

指定した ID によって参照されるアニメーション コントローラー オブジェクト

属性

例外

レイアウト アニメーション コントローラーを読み込めない場合

注釈

リソースからオブジェクトを LayoutAnimationController 読み込みます

の Java ドキュメント android.view.animation.AnimationUtils.loadLayoutAnimation(android.content.Context, int)

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

適用対象