找到 work/ /core/res/res/values/dimens. ,在其中把Navigation的配置改成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>
因为这个改动只修改了 work的资源文件,编译内核,获取 work-res.apk(./out/target/product/sabresd/system/ work/) , adb push到手机的/system/ work(在这个目录下能看到原有的 work-res.apk),然后reboot,启动发现没有虚拟导航按键了.
以上这篇android底层去掉虚拟按键的实例讲解就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持脚本之家。
继续阅读与本文标签相同的文章
上一篇 :
基于python3实现socket文件传输和校验
-
如何有效降低大数据平台安全风险
2026-05-16栏目: 教程
-
目前为止全网最全的 SpringBoot 参数传递方案
2026-05-16栏目: 教程
-
带你读《Effective Java中文版》之三:对于所有对象都通用的方法
2026-05-16栏目: 教程
-
带你读《深入理解以太坊》之二:设计理念
2026-05-16栏目: 教程
-
带你读《深入理解以太坊》之三:技术架构
2026-05-16栏目: 教程
