Android bitmap image resource sizes for the different screen pixel densities

Here’s a handy table that you can refer to when creating image bitmap resources for your Android app.

Qualifier Approximate dpi Scaling ratio
ldpi 120 Baseline
mdpi 160 43 * ldpi
hdpi 240 64 * mdpi
xhdpi 320 86 * hdpi
xxhdpi 480 128 * xhdpi
xxxhdpi 640 1612 * xxhdpi
nodpi N/A Not scaled
tvdpi 213 1.33 * mdpi

xxxhdpi is only used for launch icons.

Source: Android Developer Guide: Providing Alternative Resources

comments powered by Disqus