Are you thinking to display some background image in the android app? And you don’t have any ideas what sizes should you keep the image inside the resource file? Then, keep reading. I am showing you the minimum sizes you need to create to display the background images.
Create 5 image under the following sizes and save under
app -> res -> drawable -> background.png
xxxhdpi: | 1440 * 2560 px |
xxhdpi: | 1080 * 1920 px |
xhdpi: | 720 * 1280 px |
hdpi: | 480 * 800 px |
mdpi: | 320 * 480 px |
That’s it. These are the 5 sizes of android background images if you want to use background images.