Setting an icon to your android project

From D3xt3r01.tk
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

WHY

Because the default isn't a good choice for a good app ..

HOW

Following the guidelines in the LINKS section, you need 3 icons. 36x36, 48x48, 72x72. For a nice effect it would be nice if you'd have a transparent background !

All you have to do is place icon.png :

36x36 -> res/drawable-ldpi 48x48 -> res/drawable-mdpi 72x72 -> res/drawable-hdpi

You can have it with a different name by specifying 'android:icon="@drawable/icon"' in <application> in AndroidManifest.xml without the .png extension !

LINKS

Android Icon Design Guidelines