📅  最后修改于: 2022-03-11 14:52:31.764000             🧑  作者: Mango
protected void onResume() {
super.onResume();
View decorView = getWindow().getDecorView();
// Hides the status and navigation bar until the user clicks
// on the screeen.
int uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
| View.SYSTEM_UI_FLAG_FULLSCREEN;
decorView.setSystemUiVisibility(uiOptions);