martedì 1 maggio 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 (firstname.lastname@example.org)
Tutte le risposte
martedì 1 maggio 2012 21:50Moderatore
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.
martedì 1 maggio 2012 22:17
Thanks for the reply;
How can the Application background color be modified from dark to white?
martedì 1 maggio 2012 22:56Moderatore
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.
- Contrassegnato come risposta rrobhelle martedì 1 maggio 2012 23:12
mercoledì 2 gennaio 2013 15:37hi 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...
giovedì 24 gennaio 2013 05:56I also recommend that you make your splash screen logo have a transparent background as this will work properly when "High Contrast" is turned on.
- Contrassegnato come risposta rrobhelle giovedì 24 gennaio 2013 15:46