I have an image with dimensions 250*70 pixels under drawable folder (I’m just starting out in Android development, so i created drawable folder in res) and I have the same image with higher dimensions in drawable-large folder; but the image is not looking as I expected.
Can anyone explain the reason behind/purpose of 3 drawable folders?
Where should I store my image so that it displays properly in both modes (landscape & portrait) and in all the mobiles (including tablets)?
I want my image to scale dynamically to the size of the device screen.
Can anyone share your views or links to search ?
By default Android maintain three folders for the images with different resolution reason behind it is the use or the resolution of the Android Device on which the application gonna execute.
hdpi image folder maintain images for the Android Broad Screen set or Android Phones with the Higher resolution.
ldpi for Lower images quality which supports by the earlier sets of the android
mdpi for medium images support
xhdi images folder for devices with maximum resolution.
Android OS select the image it self by checking the compatible device and its resolution.
Hope it helps. Accept if you get your explanation.