lundi 25 mai 2015

Issue in supporting multiple screens in Android

I know this question have been asked several times, but, I am facing a unique problem, solution of which I have not been able to find. I have images in drawable, drawable-ldpi, drawable-mdpi, drawable-hdpi, drawable-xhdpi and drawable-xxhdpi in ratio of .75:1:1.5:2:3 respectively. For most of the emulators, images are appearing perfectly well, but, for some of them, images are not appearing in proper proportion. Like images appears well in 3.2" HVGA slider(ADPI) emulator- 320x480 mdpi, but, images do not appear well in 5.1" WVGA emulator- 480x800 mdpi. This is despite the fact that both are mdpi. Why is it that despite both of them being mdpi, images appears well in one and do not appear in proper proportion in the other? How can I overcome this. Any help would be highly appreciated.

Aucun commentaire:

Enregistrer un commentaire