次の方法で共有


ActivityOptions.SetSplashScreenStyle(Int32) メソッド

定義

開始アクティビティの優先スプラッシュ スクリーン スタイルを設定します。

[Android.Runtime.Register("setSplashScreenStyle", "(I)Landroid/app/ActivityOptions;", "GetSetSplashScreenStyle_IHandler", ApiSince=33)]
public virtual Android.App.ActivityOptions SetSplashScreenStyle (int style);
[<Android.Runtime.Register("setSplashScreenStyle", "(I)Landroid/app/ActivityOptions;", "GetSetSplashScreenStyle_IHandler", ApiSince=33)>]
abstract member SetSplashScreenStyle : int -> Android.App.ActivityOptions
override this.SetSplashScreenStyle : int -> Android.App.ActivityOptions

パラメーター

style
Int32

は、次のいずれか SplashScreen#SPLASH_SCREEN_STYLE_ICON または SplashScreen#SPLASH_SCREEN_STYLE_SOLID_COLOR

戻り値

属性

注釈

開始アクティビティの優先スプラッシュ スクリーン スタイルを設定します。 これは、アクティビティまたはプロセスがまだ作成されていない場合にのみ適用されます。

の Java ドキュメントandroid.app.ActivityOptions.setSplashScreenStyle(int)

このページの一部は、Android オープンソース プロジェクトによって作成および共有され、クリエイティブ コモンズ 2.5 属性ライセンスに記載されている条件に従って使用される作業に基づく変更です。

適用対象