SPECIAL IMAGE FILES

A Metro-style application includes several image files that are used for splash screens, icons, and the like. These files are Logo.png, WideLogo.png, SmallLogo.png, and SplashScreen.png.

Logo.png is a 150 × 150 pixel image file that is displayed on the Metro interface if you pin your application to the Metro start window. Normally the system adds the name of the application at the bottom of the image in white so you should leave that area blank and fill it with a dark color so the name is visible. Figure 21-3 shows the MetroBones application in the Metro start window. (The shaded strip at the bottom of the icon is part of the Logo.png file. The system automatically added the program’s name on top of the shaded strip in white text.)

FIGURE 21-3: The file Logo.png determines how the program appears in the Metro start window.

image

WideLogo.png is a 310 × 150 pixel image file that Windows uses if the application is shown in two columns in the Metro interface.

SmallLogo.png is a 30 × 30 pixel image file that the operating system can use as a smaller representation of the application.

SplashScreen.png is a 620 × 300 pixel image file that is displayed while the program is loading.

The locations of these files are set in the application’s manifest. If you open Solution Explorer and double-click the file Package.appxmanifest, you can change these settings in the Manifest ...

Get Visual Basic 2012 Programmer's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.