Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[MOD]Enable Navigation-Bar(4.0+)

$
0
0
Well i wrote a guide for my phone :) wanted to share it here too.
Here is my actuall thread in my own device forum
http://forum.xda-developers.com/show...php?p=38495602
Quote:

Anyone ever wanted to have those sexy on screen buttons that devices like Nexus have?

No need to wait anymore!

Here it is :beer:




Its pretty easy !:beer:

Here are the steps :)

Instructions for CustomRoms
1)Hit Up Root Explorer
2)Go to System¬>Build.prop
3) add this line at the end of the build.prop then save and exit.And restart.
Code:

qemu.hw.mainkeys=0
This Code for turning off Navigation Bar
Code:

qemu.hw.mainkeys=1

Well that was pretty basic one.


So now in case of our stock ICS ROMs :)

Instructions for stock ics
1)Decompile Framework-res.apk
(better to use apktool1.5.2 or later)
2)now go to res¬>values¬>bools.xml
3)open bools.xml with notepad++
4) edit this
Code:

<bool name="config_showNavigationBar">false</bool>
TO

Code:

<bool name="config_showNavigationBar'>true</bool>
5)save and recompile apk
6)add The line
Code:

qemu.hw.mainkeys=0
To build.prop then restart



Now if you want to change the size of the navigation Bar

instructions for all roms to change size
1) decompile framework-res.apk
2)Go to res¬>values¬dimens.xml
3)open dimens.xml using notepad++
4) at line number 14,15,16,17
Edit the Dpi values to your choice
Code:


<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>
<dimen name="navigation_bar_height">28.0dip</dimen>

5)save and recompile apk


Thats so easy :screwy:



Enjoy your "Nexus Bar Experience":thumbup:


If you think this post is helpfull press :thumbup: button
If you wanna buy me a:beer: donate me :D
-Rik[Rittik]

Viewing all articles
Browse latest Browse all 3614

Trending Articles