隐藏Systembar中的Andr​​oid 3.0(蜂巢) [英] Hiding Systembar in android 3.0(honeycomb)

查看:141
本文介绍了隐藏Systembar中的Andr​​oid 3.0(蜂巢)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何隐藏的Andr​​oid 3.0(蜂巢)系统吧?

How do I hide the system bar in android 3.0(honeycomb)?

推荐答案

不能删除的systembar(非root权限的设备)。你可以进入熄灯模式,变暗,并只显示点,其中的按钮使用以下code(<一href="http://stackoverflow.com/questions/4834542/where-is-api-call-to-do-lights-out-mode-in-honeycomb">ref):

The systembar cannot be removed (on non-rooted devices). You can go into "lights out mode" which dims it and only shows dots where the buttons are using the following code (ref):

View v = findViewById(R.id.view_id);
v.setSystemUiVisibility(View.STATUS_BAR_HIDDEN);

这也被问过<一个href="http://stackoverflow.com/questions/5109988/is-there-a-way-to-hide-the-system-bar-in-android-3-0-its-an-internal-device-and">here,记得第一次搜索。

This was also asked before here, remember to search first.

这篇关于隐藏Systembar中的Andr​​oid 3.0(蜂巢)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆