//去掉状态栏 requestWindowFeature(Window.FEATURE_NO_TITLE); //全屏幕显示 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN); setContentView(R.layout.main);
2021-12-19 18:34:09
//去掉状态栏 requestWindowFeature(Window.FEATURE_NO_TITLE); //全屏幕显示 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN); setContentView(R.layout.main);