想要移除狀態列
import android.view.WindowManager;
this.getWindow().setFlags(
WindowManager.LayoutParams.FLAG_FULLSCREEN,
WndowManager.LayoutParams.FLAG_FULLSCREEN);
想要移除標題列
import android.view.Window;
requestWindowFeature(Window.FEATURE_NO_TITLE);
想要設定螢幕的旋轉方向
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);