vendredi 24 janvier 2014

[TUTORIAL][MOD] Make 5 menu NavBar / SoftKey [Xperia L] topic




[TUTORIAL][MOD] Make 5 menu NavBar / SoftKey [Xperia L]
This tutorial for JB 4.1.2 4.2.2 4.3

Hello
This is my 1st thread.So,sory if my english are bad..
I know some of you already knows this. So if you already known this, you can leave it. This is for new comers like me :D


You all know that the default navbar for XperiaL only 3 buttons, back-home-recents app... So we'll make 2 additional button, thats are lock & menu..
This extra button are very usefull, i think..

Oke Let's Start

Needed :
+ PC
+ Knowledge of compile-decompile APKs
+ Signing APKs
+ Root & Deodex
+ Notepad++

[1] You have to find 5 icon for our new 5 navbar..you can search on this forum, or you will made the icons by yourself,doesnt matter..the important is you gets HDPI icons for HDPI device, xHDPI for xHDPI device...

[2] Decompile your SystemUI.apk...go to res/drawable-hdpi (for hdpi device)...make sure your icons have same name with icons from this folder...copy your icon to this folder...

[3]Go to res/values folder and search ids.xml and open it with Notepad++..Then add this line at the end before </resources>

 






Quote:









<item type="id" name="lock">false</item>
<item type="id" name="newmenu">false</item>








Save it and close

[4]
Go to res/values/strings.xlm... Add this line

 






Quote:









<string name="accessibility_lock">Lock</string>








Save it and close

[5]
Now go to res/layout folder and find navigation-bar.xlm open with Notepad++...

 




You can found this

Just replace with this
Scrip 1



Before saving, next to step 6

[6]
Find this

 





Replace with this
Scrip 2



Save it and close

7
Recompile and sign the APK..Push to your system

Congrats
You get navbar with 5 menus..

Note
You can chang the DIP on step 5 and 6 to customizing..
And you can change the order of the menus on step 5..just move the line like what you want..that line make order back-menu-home-lock-recent (form the left)..you can change to menu-back-home-recent-lock or what you want..just MOVE the line..

Source thread :
http://forum.xda-developers.com/show....php?t=2553416

Credit :
Rajeev


Screenshot

 




This is mine














Aucun commentaire:

Enregistrer un commentaire