Wednesday, November 20, 2013

[Android] Android change app project icon

prepare the icons and renamed to "ic_launcher.png"
You need prepare 4 type of size:

Requirement of the icons size: ﹕
ic_launcher.png placing in drawable-hdpi folder  : 72px X 72px。
ic_launcher.png placing in drawable-hdpi folder  : 48px X 48px。
ic_launcher.png placing in drawable-hdpi folder  : 96px X 96px。
ic_launcher.png placing in drawable-hdpi folder  : 144px X 144px。

And then you need to go to the directory to replace the icons:

My wordpsace is "C:\Documents and Settings\xenialaw\workspace\listview\bin\res\crunch"
My project name is "listview"

First, visit your project work path
your_workspace\your_projects_name\bin\res\crunch

In My case is :C:\Documents and Settings\xenialaw\workspace\listview\bin\res\crunch
and found your folder:

  1. drawable-hdpi
  2. drawable-mdpi
  3. drawable-xhdpi
  4. drawable-xxhdpi

The picture is an example:


Use the new one to Replace the original one.



Secondly, look for others folder:
@your_workspace@\your_projects_name\res

In my case: "C:\Documents and Settings\xenialaw\workspace\listview\res"
  1. drawable-hdpi
  2. drawable-mdpi
  3. drawable-xhdpi
  4. drawable-xxhdpi


 And then Done

No comments :

Post a Comment