android 13 调整导航栏返回键和home键间距

定制android 13的圆形设备,底部导航栏的back , recent_app键都靠近两边导致只看到一个home键。

期望:调整back , recent_app 和home的间距,能让这个圆形屏幕的设备能按到back,recent_app按键

diff --git a/vendor/mediatek/proprietary/packages/apps/SystemUI/res/layout/navigation_layout.xml b/vendor/mediatek/proprietary/packages/apps/SystemUI/res/layout/navigation_layout.xml
index 46f238cbe58..fefa2801981 100644
--- a/vendor/mediatek/proprietary/packages/apps/SystemUI/res/layout/navigation_layout.xml
+++ b/vendor/mediatek/proprietary/packages/apps/SystemUI/res/layout/navigation_layout.xml
@@ -17,8 +17,9 @@
 

1.导航栏布局修改layout_width 为 wrap_content,不让导航栏占满整个宽度

2.添加android:layout_gravity="center",让三个按键剧中显示

你可能感兴趣的:(android)