Post Reply

[Tutorial] Open or closed ICS virtual buttons

OP ljg211314

9th April 2014, 09:50 AM   |  #1  
ljg211314's Avatar
OP Member
Flag HangZhou
Thanks Meter: 54
 
53 posts
Join Date:Joined: Jul 2013
Donate to Me
More
First you must guide how to decompile apk files

Suitable for all Android devices

Ok,then,get ready your framework-res.apk,Decompile it

go to res/values,open navigationbar.xml with Notepad++ or Notepad2

search code
<bool name="config_showNavigationBar">false</bool>

give false to true

save,then open dimens.xml

search code
<dimen name="navigation_bar_height">48.0dip</dimen>
<dimen name="navigation_bar_width">48.0dip</dimen>

navigation_bar_height behalf of vertical screen height
navigation_bar_width width represents the horizontal screen

The above figures to the size you want


Note: 48.0dip must exist in .0dip
For example: instead 30DPI is 30.0dip

save,Compile, replace the device back on OK

f the CM ROM, please add the code in build.prop


qemu.hw.mainkeys=0

save, reboot you device
If you don't wanna it ,add this code


qemu.hw.mainkeys=1

save, reboot you device



Attached Thumbnails
Click image for larger version

Name:	logo.PNG
Views:	345
Size:	5.7 KB
ID:	2676447  
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes