Answered Maximize size of Custom Splash Screen

  • 1. května 2012 20:24
     
     

    I am working with a Windows 8 Metro application, and I am writing to ask how best to maximize the splash screen to fill up the entire tablet screen;

    My custom splash screen is the standard 620 px by 300px, and displays in the middle of the screen - during the brief application start up period;

    Thanks in advance for any insight;

    Best regards - Rob (robhelle@hotmail.com)

      


    robert hellestrae

Všechny reakce

  • 1. května 2012 21:50
    Moderátor
     
     Odpovědět

    Hi Rob,

    You can't control the size of the splash screen. It is loaded and shown before your app is running, so you cannot change it by code. You can make it look full screen by matching the splash screen's background color and the app's background color so they merge together.

    --Rob

  • 1. května 2012 22:17
     
     

    Thanks for the reply;

    How can the Application background color be modified from dark to white?

    Best regards;


    robert hellestrae

  • 1. května 2012 22:56
    Moderátor
     
     Odpovědět

    Hi Robert,

    You can set your app's splash screen background color in the appx manifest. In Visual Studio open the Package.appxmanifest file and the setting is at the bottom of the Application UI tab.

    You can also give your splash screen bitmap a transparent background so the background color bleeds through. The default SplashScreen.png created by the Metro style app templates does this.

    --Rob

    • Označen jako odpověď rrobhelle 1. května 2012 23:12
    •  
  • 2. ledna 2013 15:37
     
     Odpovědět
    hi robert... i guess u know the answer by now, its been a long time since u asked it... but still, u can change that in the default.html page head section, change the css file to ui-light instead of ui-dark...
  • 24. ledna 2013 5:56
     
     Odpovědět
    I also recommend that you make your splash screen logo have a transparent background as this will work properly when "High Contrast" is turned on.

    http://www.refractored.com

    • Označen jako odpověď rrobhelle 24. ledna 2013 15:46
    •