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);
精彩评论