Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I supply the 3 splash screen sizes for a Windows 8 app?

I'm trying to create a Windows 8 C#/XAML app, and the first task I'd like to do is to set up the splash screen.

How can I supply the 100%, 140% and 180% versions as referenced in the Splash screen element docs?

That link refers to Tiles overview, which then links to Tile image sizes, which then links to Globalizing tile and toast notifications, which gives both a folder naming convention and file naming convention, neither of which seem to work for the Splash screen.

Why it could not be a nice appxmanifest entry?

like image 843
rob Avatar asked May 02 '12 15:05

rob


1 Answers

If you have your basic project template where there is a file called SplashScreen.png in the Assets folder - you don't need to change Package.appxmanifest. Just rename SplashScreen.png to SplashScreen.scale-100.png and add SplashScreen.scale-140.png as well as SplashScreen.scale-180.png (at 868x420 and 1116x540 resolutions respectively) to the Assets project folder and the system will pick them up depending on current scale when the app starts. It is easy to test in the simulator (Project/Properties/Debug/Simulator, then hit Change Resolution in the simulator and rerun the app to see different splash screen images). I think the Package.appxmanifest editor does not allow to pick a splash screen file that does not exist, so if you don't have SplashScreen.png, but SplashScreen.scale-100.png - you won't be able to select it, but you can edit the manifest file in a text editor.

I think it is what they meant when they said in the article when they said "The splash screen image can be given as either a direct path to an image file or as a resource".

like image 127
Filip Skakun Avatar answered Oct 20 '22 19:10

Filip Skakun