ActivityOptions.MakeCustomAnimation メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
MakeCustomAnimation(Context, Int32, Int32) |
アクティビティが表示されたときに実行するカスタム アニメーションを指定する ActivityOptions を作成します。 |
MakeCustomAnimation(Context, Int32, Int32, Int32) |
アクティビティが表示されたときに実行するカスタム アニメーションを指定する ActivityOptions を作成します。 |
MakeCustomAnimation(Context, Int32, Int32)
アクティビティが表示されたときに実行するカスタム アニメーションを指定する ActivityOptions を作成します。
[Android.Runtime.Register("makeCustomAnimation", "(Landroid/content/Context;II)Landroid/app/ActivityOptions;", "")]
public static Android.App.ActivityOptions? MakeCustomAnimation (Android.Content.Context? context, int enterResId, int exitResId);
[<Android.Runtime.Register("makeCustomAnimation", "(Landroid/content/Context;II)Landroid/app/ActivityOptions;", "")>]
static member MakeCustomAnimation : Android.Content.Context * int * int -> Android.App.ActivityOptions
パラメーター
- context
- Context
これを定義しているユーザー。 これは、アニメーション リソースの読み込み元となるアプリケーションです。
- enterResId
- Int32
受信アクティビティに使用するアニメーション リソースのリソース ID。 アニメーションがない場合は 0 を使用します。
- exitResId
- Int32
送信アクティビティに使用するアニメーション リソースのリソース ID。 アニメーションがない場合は 0 を使用します。
戻り値
アクティビティを開始するときに、これらのオプションを Bundle オプションとして指定するために使用できる新しい ActivityOptions オブジェクトを返します。
- 属性
注釈
の Java ドキュメント android.app.ActivityOptions.makeCustomAnimation(android.content.Context, int, int)
。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。
適用対象
MakeCustomAnimation(Context, Int32, Int32, Int32)
アクティビティが表示されたときに実行するカスタム アニメーションを指定する ActivityOptions を作成します。
[Android.Runtime.Register("makeCustomAnimation", "(Landroid/content/Context;III)Landroid/app/ActivityOptions;", "", ApiSince=33)]
public static Android.App.ActivityOptions MakeCustomAnimation (Android.Content.Context context, int enterResId, int exitResId, int backgroundColor);
[<Android.Runtime.Register("makeCustomAnimation", "(Landroid/content/Context;III)Landroid/app/ActivityOptions;", "", ApiSince=33)>]
static member MakeCustomAnimation : Android.Content.Context * int * int * int -> Android.App.ActivityOptions
パラメーター
- context
- Context
これを定義しているユーザー。 これは、アニメーション リソースの読み込み元となるアプリケーションです。
- enterResId
- Int32
受信アクティビティに使用するアニメーション リソースのリソース ID。 アニメーションがない場合は 0 を使用します。
- exitResId
- Int32
送信アクティビティに使用するアニメーション リソースのリソース ID。 アニメーションがない場合は 0 を使用します。
- backgroundColor
- Int32
アニメーションに背景が必要な場合に、アニメーション中に背景に使用する背景色。 既定の色をオーバーライドしない場合は、0 に設定します。
戻り値
アクティビティを開始するときに、これらのオプションを Bundle オプションとして指定するために使用できる新しい ActivityOptions オブジェクトを返します。
- 属性
注釈
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。