Android 14.0 framework默认将三按钮的导航栏修改为手势导航。

Android 14.0 framework默认是三按钮的导航栏 ,在设置里可以切换成手势导航。

客户希望系统开机默认为手势导航,不需要客户去设置,经查阅Android 14.0 framework的代码,发现可以按如下方式修改。

/frameworks/base/core/res/res/values/config.xml

@@ -3986,11 +3986,11 @@

0: 3 button mode (back, home, overview buttons)

1: 2 button mode (back, home buttons + swipe up for overview)

2: gestures only for back, home and overview -->

  • <integer name="config_navBarInteractionMode">0</integer>
  • <integer name="config_navBarInteractionMode">2</integer>
相关推荐
不吃凉粉3 小时前
Android Studio USB串口通信
android·ide·android studio
zhangphil3 小时前
android studio设置大内存,提升编译速度
android·android studio
编程乐学4 小时前
安卓非原创--基于Android Studio 实现的天气预报App
android·ide·android studio·课程设计·大作业·天气预报·安卓大作业
大熊的瓜地6 小时前
Android automotive 框架
android·android car
私人珍藏库6 小时前
[Android] Alarm Clock Pro 11.1.0一款经典简约个性的时钟
android·时钟
消失的旧时光-19439 小时前
ScheduledExecutorService
android·java·开发语言
小糖学代码9 小时前
MySQL:14.mysql connect
android·数据库·mysql·adb
怪兽201411 小时前
请谈谈什么是同步屏障?
android·面试
帅锅锅00711 小时前
SeLinux 全面详解
android·linux
只想搞钱的肥仔12 小时前
Android thermal (5)_cooling device(下)
android