Partager via


Compatible Icons

4/19/2010

Windows Mobile devices use different icon sizes than that of desktop computers. In addition, the Windows Mobile devices support screens with various resolutions. Therefore, your application should contain icons designed for all supported resolutions. Windows Mobile stretches or compresses icons to fit the resolution of the screen. However, this frequently results in aliasing. The following illustration shows a correctly sized icon and a stretched icon.

Bb677144.46c647f9-6570-4ecd-858c-3a3ff9ca81d2(en-us,MSDN.10).gif

Icon Sizes

The icon file type supports the inclusion of multiple icon resolutions in a single icon file, so you can provide icons that support multiple screen resolutions without the overhead of multiple icon files.

The following table lists the icon sizes for each supported screen size of devices that are powered by Windows Mobile Professional orWindows Mobile Classic. In the table, resolution is measured in dots per inch (DPI), and icon sizes are measured in pixels.

Screen Dimensions DPI Orientation Small Icon Size Large Icon Size

240 x 320

96

PL

16 x 16

32 x 32

480 x 640 (VGA)

192

PL

32 x 32

64 x 64

240 x 240

96

S

16 x 16

32 x 32

480 x 480 (VGA)

192

S

32 x 32

64 x 64

320 x 320

128

S

21 x 21

43 x 43

The following table lists the icon sizes for each supported resolution of devices that are powered by Windows Mobile Standard.

Resolution DPI Orientation Small Icon Size Large Icon Size

176 x 220

96

P

16 x 16

32 x 32

240 x 320 (QVGA)

131

PL

22 x 22

44 x 44

The abbreviations used in the orientation column represent Portrait, Landscape, and Square.