- ldpi (low) ~120dpi 0.75
- mdpi (medium) ~160dpi 1
- hdpi (high) ~240dpi 1.5
- xhdpi (extra-high) ~320dpi 2
- xxhdpi (extra-extra-high) ~480dpi 3
- xxxhdpi (extra-extra-extra-high) ~640dpi 4
Note: You only need to provide density-specific drawables for bitmap files (.png
, .jpg
, or .gif
) and Nine-Patch files (.9.png
). If you use XML files to define shapes, colors, or other drawable resources, you should put one copy in the default drawable directory (drawable/
).
To create alternative bitmap drawables for different densities, you should follow the 3:4:6:8:12:16 scaling ratio between the six generalized densities. For example, if you have a bitmap drawable that's 48x48 pixels for medium-density screens, all the different sizes should be:
- 36x36 (0.75x) for low-density
- 48x48 (1.0x baseline) for medium-density
- 72x72 (1.5x) for high-density
- 96x96 (2.0x) for extra-high-density
- 180x180 (3.0x) for extra-extra-high-density
- 192x192 (4.0x) for extra-extra-extra-high-density (launcher icon only; see note above)