Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Tutorial] Customize soft key height / navigation bar resize

OP endleesss

19th April 2014, 04:39 AM   |  #1  
OP Member
Thanks Meter: 4
35 posts
Join Date:Joined: Feb 2011
This works on any Rooted Android device. I tried to make the guide easy for those who don't know much. Please backup before attempting this mod.

2. Install root browser on the device: https://play.google.com/store/apps/d...ot.browserfree
3. Install Android Multitool the computer: http://www.mediafire.com/download/7p...titool_3.3.zip

1. Use root browser and copy /system/framework/framework-res.apk to /sdcard
2. Save framework-res.apk from /sdcard to AndroidMultiTool Files folder in your computer
2. Now we need to Decompile the apk with AndroidMultiTool. Run AndroidMultiTool.exe
3. Under Decompling, select the framework-res.apk file and click decompile. Decompiled files will show up in Decompiled_apk folder
4. go to the folder Decompiled_apk/framework-res/res/values/
5. Open dimens.xml with notepad
6. change values for:
<dimen name="navigation_bar_height">48.0dip</dimen>
<dimen name="navigation_bar_height_landscape">48.0dip</dimen>
<dimen name="navigation_bar_width">42.0dip</dimen>
Use 25 for all dip values to match status bar; or use a bigger number for all three values to make them bigger. Then save.
7. Now we need to Compile the apk with AndroidMultiTool. Under Compiling, select the folder /decomplied_apk/framework-res and click OK. Then click compile. After it's done, you can close Android Multitool
8. Go to the original framework-res.apk in the Files folder and rename it to framework-res.zip
9. Open framework-res.zip and copy AndroidManifest.xml and META-INF folder to your desktop.
10. Go to compiled_apk/framework-res folder
11. Rename framework-res.apk to framework-res.apk.zip
12. Copy and replace AndroidManifest.xml and META-INF folder from your desktop in the framework-res.apk.zip
13. Rename framework-res.zip back to framework-res.apk
14. Copy framework-res.apk into your device /sdcard.
15. Then use root browers to copy and replace framework-res.apk into /system/framework
16. Your device will reboot by itself with the new smaller soft keys

Flextrick : http://forum.xda-developers.com/nexu...eight-t2306742
Flextrick : http://forum.xda-developers.com/show....php?t=2326604
Charles Chow : http://chromloop.com/2013/07/how-to-...nexus-4-guide/
The Following 2 Users Say Thank You to endleesss For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes