简体   繁体   English

Android - 永久隐藏导航栏

[英]Android - Permanently hide navigation bar

I need to hide the navigation bar on a tablet with 4.0 completely.我需要完全隐藏 4.0 平板电脑上的导航栏。 No user interaction should change this behavior.任何用户交互都不应该改变这种行为。 Right now I'm running the default Fullscreen View from Android Studio, but user interaction brings up the navigation bar.现在我正在从 Android Studio 运行默认的全屏视图,但用户交互会显示导航栏。 Is there a way to do that without root?有没有办法在没有root的情况下做到这一点?

Unless phone is rooted - you cannot override the standard behavior or Android OS.除非手机已植根 - 您无法覆盖标准行为或 Android 操作系统。 In fullscreen mode i will be hidden, but can be still brought down when required.在全屏模式下,我将被隐藏,但仍可在需要时关闭。

You could set the app like a Launcher, hide the navigation bar, and root the phone, in order to set always run that.您可以将应用程序设置为启动器,隐藏导航栏,并根植手机,以便设置始终运行。

The other option is root the phone, and make your own android version without the navigation bar.另一种选择是root手机,制作你自己的没有导航栏的android版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM