What you are describing is what you need to do. You need an image for each group of screen pixel densities (ldpi, mdpi, hpdi and poss xhdpi)
Other things you can do?
- Use a background around the image to make the image look stretched (for example, if the image is white near the edges, use a white background). It will look better if there is no obvious border around the image and it disappears in the background.
- Background / borders can be 9-patch , stretchable image
- In theory, you could provide a lot more images and select them at runtime based on the actual screen size, but this is a very bad idea (you never know what new sizes are coming)
- Remember to include portrait and landscape versions - it is never recommended to take one orientation if you can avoid it.
Think of an Android screen, such as a resizable web page, they come in different sizes and shapes, and your layout should stretch and adapt for everyone.
Ollie c
source share