![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android 全屏
侠客行记
这个作者很懒,什么都没留下…
展开
-
android 全屏去掉底部虚拟导航栏
@Override public void onWindowFocusChanged(boolean hasFocus) { super.onWindowFocusChanged(hasFocus); if (hasFocus) { getWindow().getDecorView().setSystemUiVisibility( View.SYSTEM_UI_FLAG_LAYOUT_S原创 2017-07-28 11:01:53 · 6856 阅读 · 1 评论 -
隐藏Android底部的虚拟按键
/** * 隐藏Android底部的虚拟按键 */ private void hideVirtualKey(){ Window window = getWindow(); WindowManager.LayoutParams params = window.getAttributes(); params.systemUiVisibility = View.SYSTEM原创 2017-07-28 13:53:08 · 667 阅读 · 0 评论 -
android 全屏去掉ActionBar 和状态栏
requestWindowFeature(Window.FEATURE_NO_TITLE); int flag = WindowManager.LayoutParams.FLAG_FULLSCREEN | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; this.getWindow().setFlags(flag, flag);原创 2017-07-28 13:55:10 · 587 阅读 · 0 评论