全屏XML:
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
全屏java:
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
去掉标题XML:
@android:style/Theme.Holo.NoActionBar
去掉标题java:
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
或通过ActionBar去除:
this.getActionBar().hide()