Android Background Image Resolutions
- Joel Lipman
- AndroidOS
- Hits: 11470
A reference to what size an image background should be set to for various screen sizes.
Why?
A background image I was using was unedited at 1600x2133 (364kb) and was not displaying on smaller devices. Configuring drawables for each layout seemed to be the only solution.
res/drawable-ldpi 240x320 res/drawable-mdpi 320x480 res/drawable-hdpi 480x800 res/drawable-xhdpi 640x960 res/drawable-xxhdpi 960x1440 res/drawable-xxxhdpi // for launcher only 640dpi res/drawable-tvdpi 1.33*mdpi // not needed as mdpi or hdpi is used
- res/drawable-ldpi 240x320
- res/drawable-mdpi 320x480
- res/drawable-hdpi 480x800
- res/drawable-xhdpi 640x960
- res/drawable-xxhdpi 960x1440
- res/drawable-xxxhdpi  // for launcher only 640dpi
- res/drawable-tvdpi 1.33*mdpi // not needed as mdpi or hdpi is used