Hello,
In this tutorial I´ll show you how to change the height of your NavBar.
This Tutorial works for any Rom!
Requirements
.. let´s go
Before getting started, make a Nandroid Backup (if you get Bootoop etc)!
The decompliling:
First you need to create a new folder like "C:\apktool". Download Apktool and extract the files to C:\apktool
Now you should have a new folder named framework-res. That´s your decompiled framework-res.apk.
The customizing of your NavBar height:
The (Re-)compiling:
Now copy your framework-res.apk with a file manager to /system/framework. After that reboot immediately!
Finished! Have fun with your smaller/higher NavBar.
If there are some question, ask in this thread, I´ll help you as good as possible. Please don´t write me PM´s with support requests.
The "small-print":
Neither XDA-Developers.com, nor me are responible for any damages on your device!
In this tutorial I´ll show you how to change the height of your NavBar.
This Tutorial works for any Rom!
Requirements
- Text-Editor, e.g. Notepad++
- WinRar/WinZip/Bandzip
- Apktool (Download)
- installed Java (Download)
- JDK (Download)
- root on your Nexus 4
- a FileManager like ES File Explorer or Root Explorer
- your framework-res.apk
- some Cmd experience (just a little)
- .. and some time/nerves
.. let´s go
Before getting started, make a Nandroid Backup (if you get Bootoop etc)!
The decompliling:
First you need to create a new folder like "C:\apktool". Download Apktool and extract the files to C:\apktool
- copy your framework-res.apk to C:\apktool
- open Cmd
- navigate to your apktool (with "cd C:\apktool")
- type in: java -jar apktool.jar if framework-res.apk [enter] (...installation of your framework)
- type in: java -jar apktool.jar d framework-res.apk [enter]
- finished!
Now you should have a new folder named framework-res. That´s your decompiled framework-res.apk.
The customizing of your NavBar height:
- Navigate to /res/values
- open dimens.xml in your Text-Editor
- search the 3 lines which include navigation_bar_height, navigation_bar_height_landscape, und navigation_bar_width
- type in your desired dpi number (for default it´s 48dpi)
- CAUTION: At width, you should calculate the numeral proportion of the height to the width.
- If you got that, save!
The (Re-)compiling:
- Cmd (if you have not left it open, you must navigate again to C:\apktool
- type in: java -jar apktool.jar b framework-res [enter]
- The newly compiled framework-res.apk is located in C:\apktool\framework-res\dist
- CAUTION: Copy the META-INF folder and the AndroidManifest.xml from your old framework-res.apk to your newly compiled one! Otherwise you´ll get Bootloop.
Now copy your framework-res.apk with a file manager to /system/framework. After that reboot immediately!
Finished! Have fun with your smaller/higher NavBar.
If there are some question, ask in this thread, I´ll help you as good as possible. Please don´t write me PM´s with support requests.
The "small-print":
Neither XDA-Developers.com, nor me are responible for any damages on your device!
Last edited: