当前位置:   article > 正文

RK3588 Android13去掉底部导航栏和修改壁纸图片_android13去掉navigationbar

android13去掉navigationbar

1、修改壁纸图片

  1. 修改壁纸为黑色背景
  2. Change-Id: I40a4c2580323483a9a11746bd5f28fad197d5e64
  3. diff --git a/overlay/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.png b/overlay/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.png
  4. index 695a8f1..873aa5e 100755
  5. Binary files a/overlay/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.png and b/overlay/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.png differ
  6. diff --git a/overlay/frameworks/base/core/res/res/drawable-sw600dp-nodpi/default_wallpaper.png b/overlay/frameworks/base/core/res/res/drawable-sw600dp-nodpi/default_wallpaper.png
  7. index 695a8f1..70fd08c 100755
  8. Binary files a/overlay/frameworks/base/core/res/res/drawable-sw600dp-nodpi/default_wallpaper.png and b/overlay/frameworks/base/core/res/res/drawable-sw600dp-nodpi/default_wallpaper.png differ
  9. diff --git a/overlay/frameworks/base/core/res/res/drawable-sw720dp-nodpi/default_wallpaper.png b/overlay/frameworks/base/core/res/res/drawable-sw720dp-nodpi/default_wallpaper.png
  10. index 695a8f1..54d1a0f 100755
  11. Binary files a/overlay/frameworks/base/core/res/res/drawable-sw720dp-nodpi/default_wallpaper.png and b/overlay/frameworks/base/core/res/res/drawable-sw720dp-nodpi/default_wallpaper.png differ
  12. wzh@lenkeng-HP-Pro-Tower-ZHAN-99-G9-Desktop-PC:/media/extern_sda/wzh/rk3588_android/device/rockchip/rk3588/overlay$

2、去掉底部导航栏

  1. --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java
  2. +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java
  3. @@ -1234,7 +1234,7 @@ public class CentralSurfacesImpl implements CoreStartable, CentralSurfaces {
  4. mStatusBarTouchableRegionManager.setup(this, mNotificationShadeWindowView);
  5. mNotificationPanelViewController.setHeadsUpManager(mHeadsUpManager);
  6. - createNavigationBar(result);
  7. + //createNavigationBar(result);
  8. if (ENABLE_LOCKSCREEN_WALLPAPER && mWallpaperSupported) {
  9. mLockscreenWallpaper = mLockscreenWallpaperLazy.get();
  10. diff --git a/packages/WallpaperCropper/res/values/config.xml b/packages/WallpaperCropper/res/values/config.xml
  11. old mode 100644
  12. new mode 100755
  13. index 2e2fa6fd250a..1c34c735a50c
  14. --- a/packages/WallpaperCropper/res/values/config.xml
  15. +++ b/packages/WallpaperCropper/res/values/config.xml
  16. @@ -18,4 +18,5 @@
  17. <!-- Specifies whether to expand the cropped area on both sides (rather
  18. than just to one side) -->
  19. <bool name="center_crop">true</bool>
  20. + <bool name="config_wallpaper_disabled">true</bool>

3、去掉状态栏的电池图标、时间显示

  1. 状态栏不显示电池图标、时间
  2. Change-Id: I411b714808af1ae89e33c381447e125246d36c58
  3. diff --git a/packages/SystemUI/res/values/config.xml b/packages/SystemUI/res/values/config.xml
  4. old mode 100644
  5. new mode 100755
  6. index 9fae4d3e0855..d1467962013c
  7. --- a/packages/SystemUI/res/values/config.xml
  8. +++ b/packages/SystemUI/res/values/config.xml
  9. @@ -479,6 +479,8 @@
  10. -->
  11. <string-array name="config_statusBarIconsToExclude" translatable="false">
  12. <item>@*android:string/status_bar_rotate</item>
  13. + <item>@*android:string/status_bar_battery</item>
  14. + <item>@*android:string/status_bar_clock</item>
  15. </string-array>

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/繁依Fanyi0/article/detail/960265
推荐阅读
相关标签
  

闽ICP备14008679号