[RK3288][Android6.0] 调试笔记 --- 隐藏系统状态栏的方法

xiaoxiao2021-02-28  88

Platform: Rockchip OS: Android 6.0 Kernel: 3.10.92 保留显示的流程,让它显示0高度,相当于隐藏了。 kris@:~/rk3288/frameworks/base$ g df 7975415e7189b90e7816e19e5fd572c6ebdd3a86 b3016638ec975c95def4aa8f1c19cf2b023a0d2b diff --git a/core/res/res/values/dimens.xml b/core/res/res/values/dimens.xml index 8635a4f..b0df482 100644 --- a/core/res/res/values/dimens.xml +++ b/core/res/res/values/dimens.xml @@ -31,7 +31,7 @@      <integer name="max_action_buttons">2</integer>      <dimen name="toast_y_offset">64dip</dimen>      <!-- Height of the status bar --> -    <dimen name="status_bar_height">24dp</dimen> +    <dimen name="status_bar_height">0dp</dimen>      <!-- Height of the bottom navigation / system bar. -->      <dimen name="navigation_bar_height">48dp</dimen>      <!-- Height of the bottom navigation bar in portrait; often the same as @dimen/navigation_bar_height -->
转载请注明原文地址: https://www.6miu.com/read-70539.html

最新回复(0)