Application for multiple screen sizes
-
25-10-2019 - |
Question
In my application i have used some custom buttons/icon,i have all images in the folder drawable-hdpi and this line in the AndroidManifest.xml file :
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:anyDensity="true"/>
My application is looking good in HTC desire(480x800) and HTC wildfire (320x400) without putting any image in drawable-mdpi/ldpi
folder.
I want to know that, is it necessary to keep images in drawable-mdpi/ldpi
or
it will also look good on different devices.
Solution
For -optimal- results you should have the 3 versions of the images/icons {hdpi, mdpi, ldpi} but it's not mandatory.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow