如何隱藏status bar。
//hide system status bar
final Window win = getWindow();
win.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);如何隱藏title bar。
//hide window title
requestWindowFeature(Window.FEATURE_NO_TITLE); 以上放在activity的onCreate()內。
0 Comments:
Post a Comment