Skip to content Skip to sidebar Skip to footer

Android, (newbie) Different Res Imagebuttons

I have made the same image button in 36x36,48x48,72x72 and 96x96 and put them in the drawable-ldpi,drawable-mdpi,drawable-hdpi directories. I then created a layout and plonked my i

Solution 1:

No the point of those separate folders is that, if you provide the same name for that file, the correct resolution file will be chosen based on the screen size. But make sure that you provide the same name for the image. If you see the button resizing accordingly, then you have done this correctly.


Post a Comment for "Android, (newbie) Different Res Imagebuttons"