AnimationUtils.LoadAnimation(Context, Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
リソースから Animation オブジェクトを読み込みます
[Android.Runtime.Register("loadAnimation", "(Landroid/content/Context;I)Landroid/view/animation/Animation;", "")]
public static Android.Views.Animations.Animation? LoadAnimation(Android.Content.Context? context, int id);
[<Android.Runtime.Register("loadAnimation", "(Landroid/content/Context;I)Landroid/view/animation/Animation;", "")>]
static member LoadAnimation : Android.Content.Context * int -> Android.Views.Animations.Animation
パラメーター
- context
- Context
リソースへのアクセスに使用されるアプリケーション コンテキスト
- id
- Int32
読み込むアニメーションのリソース ID
返品
指定した ID によって参照されるアニメーション オブジェクト
- 属性
例外
アニメーションを読み込めない場合
注釈
リソースから Animation オブジェクトを読み込みます
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。