Android eclipse change icon


How to change the icon of your Android app

This is just a small follow-up post to The easiest way to create nice icons for Android apps.

Say, if you follow that guide, and have made an icon to represent your app, how do you use it?

If you have one icon image, or three icon images (one for each screen density, ldpi, mdpi and hdpi, like in the guide), you put your icon files in the res/drawable folder where they belong.

Depending on what API level you are creating your Android application for, in your “res” folder you either have one folder called “drawable” or three folders called “drawable-ldpi”, “drawable-mdpi” and “drawable-hdpi”.

For application launcher icons, the sizes are:

Low density – ldpi – 36×36 px
Medium density – mdpi – 48×48 px
High density – hdpi – 72×72 px

When you have put your icon in the folder/folders, open up your AndroidManifest.xml file and choose to view it as XML.

For a new Android application, the AndroidManifest.xml file will look like this:



And on line 6 you can see the attribute that specifies your applications icon:


Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>