What is best Resource size for Android
1 min readJun 11, 2020
Background Image Size in Android
When we think about android resource files we get confused because we have seen lot of devices with different size and resolutions and generally following question comes in mind
What size is required for all devices?
What is image quality requirement?
Should I create separate images for each of screen sizes?
So, Do I have to worry about all these? and answer is not al all.
1. The following are the best dimensions for the app to run in all devices.
xhdpi: 640x960 px
hdpi: 480x800 px
mdpi: 320x480 px
ldpi: 240x320 px
2. What is small, med, large.. for screens?
- xlarge screens are at least 960dp x 720dp
- large screens are at least 640dp x 480dp
- normal screens are at least 470dp x 320dp
- small screens are at least 426dp x 320dp
3. This article explains screen sizes
http://developer.android.com/guide/practices/screens_support.html
To support these devices, refer to the following developer guides:
- Building Apps for Wear OS
- Building Apps for Android TV
- Building Apps for Android Auto
- Building Apps for Chrome OS