Reputation: 32823
I am making an android app but the problem here is that there are dozens of android phones with different screen resolutions. So now I do not know which image sizes should I use. Is there a way to use one image and then android will scale it accordingly to screen resolution? If yes then which image size would be better?
Upvotes: 0
Views: 631
Reputation: 3610
Yes even if you use only single image in drawable folder, Android system will resize it for all devices, but ofcourse with images distortion. Well you should only bother about Drawable-hdpi, mdpi, ldpi and x-hdpi folders and place images respectively into it. Which differs in sizes. And best one is to use MDPI.
Its hard to understand, what i am suggested above, if you haven't read about this
Upvotes: 1
Reputation: 4297
Check out http://developer.android.com/guide/practices/screens_support.html
Upvotes: 0