Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android activity image background size

I am a bit confused on creating an image which will be acting as a background for my activities. So, in short, my aim is that my application should be able to fit the different screen sizes. Therefore, what size in pixel should my three images be to be able to fill the screen of the device in ldpi, mdpi and hdpi?

Thank you for any response.

like image 939
Yash Avatar asked Sep 12 '10 12:09

Yash


People also ask

What size should android background image be?

36x36 (0.75x) for low-density (ldpi) 48x48 (1.0x baseline) for medium-density (mdpi) 72x72 (1.5x) for high-density (hdpi) 96x96 (2.0x) for extra-high-density (xhdpi)

What size should an image be for a background?

Best background image size For background images, the best size is 1920 pixels wide x 1080 pixels high. This ideal ratio of 16:9 will fill the surface of the webpage without compromising the quality of the image. In terms of pixels per inch (ppi), the image should be at least 72.


1 Answers

In ldpi-folder, the recommended size is 240x320.

In mdpi-folder, the recommended size is 320x480.

In hdpi-folder, the recommended size is 480x800.

More information about this subject can be found here.

like image 119
Wroclai Avatar answered Sep 23 '22 06:09

Wroclai