//去掉状态栏 requestWindowFeature(Window.FEATURE_NO_TITLE); //全屏幕显示 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN); setContentView(R.layout.main);
//去掉状态栏 requestWindowFeature(Window.FEATURE_NO_TITLE); //全屏幕显示 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN); setContentView(R.layout.main);