开发者

full screen in android at runtime (no notification/status bar and app title bar)?

开发者 https://www.devze.com 2023-02-01 07:44 出处:网络
is following开发者_如何学Python both lines are getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);

is following开发者_如何学Python both lines are

getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);  
setTheme(android.R.style.Theme_NoTitleBar_Fullscreen);

considering I am writing this line in activity class


hope it helps

requestWindowFeature(Window.FEATURE_NO_TITLE); requestWindowFeature(Window.FEATURE_PROGRESS);

0

精彩评论

暂无评论...
验证码 换一张
取 消