@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Window window = getWindow();
WindowManager.LayoutParams param = window.getAttributes();
params.systemUiVisibility = View.SYSTEM_UI_FLAG_FULLSCREEN;
window.setAttributes(params);
setContentView(R.layout.activity_splash);
}
Android设置全屏
最新推荐文章于 2022-09-27 08:27:20 发布