
隱藏手機標題的指令 :
程式碼
this.getWindow().setFlags( WindowManager.LayoutParams.FLAG_FULLSCREEN
, WindowManager.LayoutParams.FLAG_FULLSCREEN
);

隱藏 Activity 程式標題的指令 (必須在 setContentView 之前執行, 否則會有錯誤) :
程式碼
this.requestWindowFeature( Window.FEATURE_NO_TITLE );

全螢幕 (執行上述兩個指令):
