ActivityOptions.MakeCustomAnimation メソッド

定義

オーバーロード

名前 説明
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

int: 受信アクティビティに使用するアニメーション リソースのリソース ID。 アニメーションがない場合は 0 を使用します。

exitResId
Int32

int: 送信アクティビティに使用するアニメーション リソースのリソース ID。 アニメーションがない場合は 0 を使用します。

返品

属性

注釈

アクティビティが表示されたときに実行するカスタム アニメーションを指定する ActivityOptions を作成します。

android.app.ActivityOptions.makeCustomAnimationの Android リファレンス。

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

適用対象

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

コンテキスト: これを定義しているユーザー。 これは、アニメーション リソースが読み込まれるアプリケーションです。 この値は null にすることはできません。

enterResId
Int32

int: 受信アクティビティに使用するアニメーション リソースのリソース ID。 アニメーションがない場合は 0 を使用します。

exitResId
Int32

int: 送信アクティビティに使用するアニメーション リソースのリソース ID。 アニメーションがない場合は 0 を使用します。

backgroundColor
Int32

int: アニメーションに背景が必要な場合に、アニメーション中に背景に使用する背景色。 既定の色をオーバーライドしない場合は、0 に設定します。

返品

属性

注釈

アクティビティが表示されたときに実行するカスタム アニメーションを指定する ActivityOptions を作成します。

android.app.ActivityOptions.makeCustomAnimationの Android リファレンス。

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

適用対象