Example explanation of removing virtual keys at the bottom of android
- 2021-09-20 21:38:47
- OfStack
Locate framework/base/core/res/res/values/dimens. xml, where change the configuration of Navigation to 0
<!-- Height of the bottom navigation / system bar. -->
<dimen name="navigation_bar_height">0dp</dimen>
<!-- Height of the bottom navigation bar in portrait; often the same as @dimen/navigation_bar_height -->
<dimen name="navigation_bar_height_landscape">0dp</dimen>
Because this change only modifies the resource file of framework, compiles the kernel, obtains framework-res. apk (./out/target/product/sabresd/system/framework/), adb push to the/system/framework of the mobile phone (you can see the original framework-res. apk in this directory), and then reboot