【发布时间】:2020-04-15 09:05:48
【问题描述】:
我正在尝试使我的应用 statusbar 在 android 上完全透明
在 MainActivity.java
getWindow().getDecorView().setSystemUiVisibility(
View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN |
View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
app.commponent
this.statusBar.backgroundColorByHexString('#11000000');
【问题讨论】:
-
检查已编辑的答案