显示系统标题栏
2020-11-09 本文已影响0人
Ad大成
View decorView = getWindow().getDecorView();
int systemUiVisibility = decorView.getSystemUiVisibility();
decorView.setSystemUiVisibility(systemUiVisibility|0x00004000);
View decorView = getWindow().getDecorView();
int systemUiVisibility = decorView.getSystemUiVisibility();
decorView.setSystemUiVisibility(systemUiVisibility|0x00004000);