14 去掉标题栏和全屏
写在setContentView()前面
this.requestWindowFeature(Window.FEATURE_NO_TITLE);//去掉标题栏
全屏:写在setContentView()前面
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
写在setContentView()前面
this.requestWindowFeature(Window.FEATURE_NO_TITLE);//去掉标题栏
全屏:写在setContentView()前面
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);