开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜