CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 5574|回复: 3

CB5 去掉状态栏

[复制链接]
发表于 2016-4-6 15:50:34 | 显示全部楼层 |阅读模式
有些爱好者不喜欢鼠标一碰到顶部就弹出状态栏,下面这个方法可以去掉状态栏

--- a/frameworks/base/packages/SystemUI/res/values/config.xml
+++ b/frameworks/base/packages/SystemUI/res/values/config.xml
@@ -35,8 +35,7 @@

     <!-- Component to be used as the status bar service.  Must implement the IStatusBar
      interface.  This name is in the ComponentName flattened format (package/class)  -->

+    <string name="config_statusBarComponent" translatable="false">com.android.systemui.statusbar.tv.TvStatusBar</string>
+
-    <string name="config_statusBarComponent" translatable="false">com.android.systemui.statusbar.phone.PhoneStatusBar</string>
     <!-- Whether or not we show the number in the bar. -->
     <bool name="config_statusBarShowNumber">false</bool>


回复

使用道具 举报

发表于 2016-4-16 18:44:49 | 显示全部楼层
大大,有详细一点的教程不
回复 支持 反对

使用道具 举报

 楼主| 发表于 2016-4-18 10:31:25 | 显示全部楼层
yuanwf 发表于 2016-4-16 18:44
大大,有详细一点的教程不

上面不是指出了具体修改哪个文件及内容吗?把frameworks/base/packages/SystemUI/res/values/config.xml这个文件的translatable="false">com.android.systemui.statusbar.tv.TvStatusBar</string>改掉就好了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-4-28 07:41 , Processed in 0.021436 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部