android:theme="@android:style/Theme.NoTitleBar.Fullscreen"//去掉狀態欄及標題欄
2、在setContentView(R.layout.**)前面加入:
this.requestWindowFeature(Window.FEATURE_NO_TITLE);//去掉標題欄
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);//去掉信息欄
個人建議用第一種方法!