Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想完全隐藏状态栏。我已经看到我们可以通过获得 root 权限来做一些非常棒的事情。那么我可以通过使用root权限隐藏状态栏吗?
隐藏状态栏
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);