Skip to content Skip to sidebar Skip to footer

Change Icon Size With Xml When Working For Different Display Sizes?

I want to be able to change icon size on demand when designing layout for different display sizes. One option i can think of is having the same icon multiple times in the folder in

Solution 1:

You are trying to deal icon wrongly because your are going to resize the icon multiple time according to the screen density , which will make your icon pixelized .

You have to follow the best approach to deal with icon .

Here you can generate all type of assets for android , just copy the icon generated to your res folder and let the system choose the right icon size for you.

Post a Comment for "Change Icon Size With Xml When Working For Different Display Sizes?"