Reprint please specify the original address: http://www.cnblogs.com/ygj0930/p/7613970.html
Android devices usually have a virtual navigation bar at the bottom of the screen, with back, home and other buttons.
While many versions of Android now offer the ability to temporarily hide the bottom navigation bar, temporarily hiding is not enough for some apps that need to completely disable the virtual button.
The method of hiding the navigation bar in code is temporary, for example, by searching the Web:
View Decorview = GetWindow (). Getdecorview (); int uioptions = view.system_ui_flag_hide_navigation | View.system_ui_flag_immersive_sticky | View.system_ui_flag_fullscreen; Decorview.setsystemuivisibility (uioptions);
This method does not call out the navigation bar while tapping the screen, but it will also pop up the virtual navigation bar at the bottom.
After trying out various solutions on the web, I discovered one of the quickest ways to be pro-test effective:
First Step: Tool preparation
Root Wizard Mobile installation package: http://www.shuame.com/root/
Re File Manager: http://shouji.baidu.com/software/22415959.html
Download two tools from the link above, one to get the root of the device (don't worry, it's not a brush, it's not a good idea to make the device brick.) And simple operation, one-click root), one is root after viewing, modify the device files.
Step Two: Root
After installing the root Wizard on the Android device (mobile phone, tablet), open it, the main interface has a " one click Root" Big button, click on it, wait a few minutes, root success!
Step three: Modify the system files, completely disable the virtual navigation bar (don't worry, just change a place, no trouble is not difficult)
Install RE File manager, open it, go to the system directory , find build.prop this file;
Press and hold the file, and in the popup menu (or Top optionmenu), select "Open with Text editor";
Add a line at the end of the command:Qemu.hw.mainkeys=1
Then click on the menu "Save and exit";
Finally, restarting the device will take effect.
Isn't it simple? The speed of the words in less than three minutes to take care of it.
However, the entire system is disabled the bottom navigation bar, may affect the use of other software, non-specific needs please do not use.
Three minutes completely disable, hide Android device bottom Virtual button (pro-Test active)