ActivityOptions.SetSplashScreenStyle(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.