<SplashScreen> Element

The splash screen that will be displayed when the user launches an app.

This provides immediate feedback to the user while app resources are initialized. As soon as your app is ready for interaction, the system dismisses the splash screen.

This element is required.

Syntax

<SplashScreen
  BackgroundColor = string
  Image = string />  

Attributes

BackgroundColor
Not used. To modify the background color, set the BackgroundColor attribute on the VisualElements element.

Image
Required. An image used as the app’s splashscreen. Image is a string between 1 and 256 characters in length that ends with “.png” that cannot contain these characters: <, >, :, “, /, |, ?, or *. The image must meet the following requirements:

Element information

Parent elements VisualElements

Remarks

Application manifest text which will display on the console (VisualElements DisplayName and VisualElements Description attributes) and images containing text (VisualElements Logo, VisualElements SmallLogo, DefaultTile WideLogo, and SplashScreen Image attributes) must be localized. See Localizing Application Manifest Resources for information on localizing application manifest text and images.

Example

<VisualElements 
    DisplayName="Media Application - Tab1"
    Logo="logo.png"
    SmallLogo="smalllogo.png"
    Description="Media Application - Tab1"
    ForegroundText="light"
    BackgroundColor="#464646">

    <DefaultTile ShowName="allLogos" WideLogo="widelogo.png" />
    <SplashScreen Image="splashscreen.png" />
    <mx:ViewStates>
        <mx:ViewState Name="snapped" />
        <mx:ViewState Name="filled" />
    </mx:ViewStates>
</VisualElements>