[Optimus One, P500, V General] kssood:
IT IS A BIT BIG BUT IT IS WORTH OF EFFORTS ADN VISIT http://supetawesomedude.deviantart.com/#/d4m2dq6 TO CHECK OUT THE END PRODUCT

WHAT THIS GUIDE IS FOR:

-How to change icons in espier launcher

-How to change page indicators

-How to change dock

-How to change notification bubble

-How to add custom icons (for apps not natively themed by espier launcher) RECENTLY EDITED

-How to install onto phone

A. Preliminary Steps:

1. Install apktool http://code.google.com/p/android-apktool/

2. Create a directory called Espier launcher mod

3. Download Espier launcher http://dl.free.fr/pjgXgBDEb and rename to launcher.apk

4. Place Espier Launcher into that directory.

5. Open terminal.

6. Change terminal directory to your Espier launcher mod folder.

E.G. I ran this:

Code:

cd /home/gaurav/Desktop/Espier launcher mod

7. Decompile the apk.

Code:

apktool d launcher.apk

B. Changing basic icons.

**UPDATE**

Now, to prevent icons from being edited (in a bad way) by Espier Launcher, download this icon and place it in drawable-(h/m/l)dpi. This is crucial to prevent your icons from getting a weird white glow around them!

1. Open res/drawable-(hdpi/ldpi/mdpi/xhdpi) *depending on what screen size your phone is. I have an mdpi so i will go into drawble-mdpi

2. Change the desired icon

For example, the file

Code:

ic_com_android_camera_preparecamera.png

can be replaced by an image of the same (or similar) size. when you're done, it should look like:

http://uppix.net/4/1/e/c43d8a7bc3e1fe2aa29cd3792dbe5.png

3. Refer to Section G

C. Changing page indicators

1. Open res/drawable-mdpi

2. Find the file:

Code:

ic_screen_level_focus.png

ic_screen_level_normal.png

3. Replace these two files with desired ones

4. Open res/drawable-hdpi

5. Replace these files with desired images.

Code:

ic_screen_level_focus

ic_screen_level_normal.png

ic_screen_level_search_focus.png

ic_screen_level_search_normal.png

ic_screen_level_widget_focus.png

ic_screen_level_widget_normal.png

6. Refer to Section G.

D. How to change dock

1. Navigate to res/drawable-mdpi (in my case)

2. Find file called

Code:

toolbar.png

3. Replace with desired (make sure the dock image is correct size for your phone)

4. Refer to Section G.

E. How to change notification bubble.

1. Open res/drawable-mdpi

2. Find and replace with desired image

Code:

icon_shuzi1.png

3. Refer to Section G.

F. How to add custom icons

*Warning* This section is a lot more confusing. Please read carefully. *Warning*

1. Navigate to /res/values/arrays.xml

2. Now, it gets tricky.

3. Go this website http://activities.droidicon.com/

4. Search for an app. It should look like this:

Screenshot http://uppix.net/0/9/8/4f7817e4c48f07662595e19ec72e7.png

5. Now, in arrays.xml, scroll down until you see this type of coding

Screenshot http://uppix.net/8/0/e/a9cc14bdf96ecae1dbc6e3a31eed4.png

6. Get to the end of that "chunk" of xml.

7. Let's say we're theming the facebook app. So we add this to xml. (and fill it out with info)

Code:

<item>ACTIVITY_OF_APP</item>

<item>DESCRIPTIVE_ACTIVITY_OF_APP</item>

<item>@drawable/NAME_OF_APP</item>

For example:

Code:

<item>com.facebook.katana</item>

<item>com.facebook.katana.LoginActivity</item>

<item>@drawable/facebook</item>

You get the first line of info like this:

Screenshot http://uppix.net/8/0/e/a9cc14bdf96ecae1dbc6e3a31eed4.png

and the second:

Screenshot http://uppix.net/7/b/0/cb6a915df97299a2832be59e39841.png

in that third line of that xml we add (@drawable/NAME_OF_APP), you can name your app anything you want. i made it "facebook" in this case.

8. Save and exit.

9. Find a desired image for your application (in this case facebook).

10. Rename it to "NAME_OF_APP.png" in this case, "facebook.png"

11. Drop that file into drawable/mdpi

12. Repeat steps 1-11 for as many applications as you want to theme.

13. Refer to Section G.

G. How to install on your phone

1. First, save and close everything you're working on.

2. Open your terminal, and change its directory to the "espier launcher mod" folder

3. Type in

Code:

apktool b 'PATH_TO/espier launcher mod' 1.apk

4. Take that 1.apk, and sign it, using a program like ApkSigner http://android-softwares.blogspot.com/2011/08/apksigner-v04-sign-unsigned-android-apk.html

5. Connect your phone to your computer via USB.

6. Mount it as a mass storage device.

7. Transfer that signed.apk to the root of your sdcard.

8. Now on your phone, uninstall any current version of EspierLauncher you may have.

9. Then, using a file manager, install the signed.apk from your sdcard.