ISplashScreen.SetSplashScreenTheme(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.
Overrides the theme used for the SplashScreen
s of this application.
[Android.Runtime.Register("setSplashScreenTheme", "(I)V", "GetSetSplashScreenTheme_IHandler:Android.Window.ISplashScreenInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public void SetSplashScreenTheme (int themeId);
[<Android.Runtime.Register("setSplashScreenTheme", "(I)V", "GetSetSplashScreenTheme_IHandler:Android.Window.ISplashScreenInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member SetSplashScreenTheme : int -> unit
Parameters
- themeId
- Int32
The ID of the splashscreen theme to be used in place of the one defined in the manifest.
- Attributes
Remarks
Overrides the theme used for the SplashScreen
s of this application.
By default, the SplashScreen
uses the theme set in the manifest. This method overrides and persists the theme used for the SplashScreen
of this application.
To reset to the default theme, set this the themeId to Resources#ID_NULL
.
<b>Note:</b> Internally, the theme name is resolved and persisted. This means that the theme name must be stable across versions, otherwise it won't be found after your application is updated.
Java documentation for android.window.SplashScreen.setSplashScreenTheme(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.