Dela via


ActivityOptions.SetSplashScreenStyle(Int32) Method

Definition

Sets the preferred splash screen style of the opening activities.

[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

Parameters

style
Int32

Can be either SplashScreen#SPLASH_SCREEN_STYLE_ICON or SplashScreen#SPLASH_SCREEN_STYLE_SOLID_COLOR

Returns

Attributes

Remarks

Sets the preferred splash screen style of the opening activities. This only applies if the Activity or Process is not yet created.

Java documentation for android.app.ActivityOptions.setSplashScreenStyle(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to