博主使用的是天嵌的IMX6Q
安卓版本4.3
修改方法:
导航栏:
修改 build/tools/buildinfo.sh 58行
echo "qemu.hw.mainkeys=1" 隐藏
echo "qemu.hw.mainkeys=0" 显示
状态栏:
修改 frameworks/base/core/res/res/values/dimens.xml 34行
<!-- Height of the status bar --> 状态栏
<dimen name="status_bar_height">0dp</dimen> ->0dp隐藏
<!-- Height of the bottom navigation / system bar. --> 导航栏
<dimen name="navigation_bar_height">48dp</dimen> ->0dp隐藏
<!-- Height of the bottom navigation bar in portrait; often the same as @dimen/navigation_bar_height -->
<dimen name="navigation_bar_height_landscape">48dp</dimen>
<!-- Width of the navigation bar when it is placed vertically on the screen -->
<dimen name="navigation_bar_width">48dp</dimen>