android Activity如何隐藏应用程序标题栏和状态栏
两种方法:
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
this.requestWindowFeature(Window.FEATURE_NO_TITLE);//去掉标题栏 this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);//去掉信息栏