Set android icon

Set android icon for a mobile application

Place your icon in the following folders with the right resolutions.

res/drawable-ldpi
(120 dpi, Low density screen)36px x 36px

res/drawable-mdpi
(160 dpi, Medium density screen)48px x 48px

res/drawable-hdpi
(240 dpi, High density screen)72px x 72px

res/drawable-xhdpi
(320 dpi, Extra-high density screen)96px x 96px

You then define the icon in your AndroidManifest.xml file, in this case I called the android icon just icon. android:icon=”@drawable/icon

 

Leave a Reply

Your email address will not be published. Required fields are marked *

-->