// 隐藏标题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);