// 隐藏标题
requestWindowFeature(Window. FEATURE_NO_TITLE );
// 定义全屏参数
int int int int flag=WindowManager.LayoutParams. FLAG_FULLSCREEN ;
// 获得窗口对象
Window myWindow= this this this this .getWindow();
// 设置 Flag 标识
myWindow.setFlags(flag,flag);