Closed yyj001 closed 3 years ago
什么手机,用的哪个版本
一加7 pro, 刚刚换了0.7.1版本,试了一下还是有遮罩
UltimateBarX.statusBar(this) .transparent() .color(Color.TRANSPARENT) .colorRes(Color.TRANSPARENT) .light(true) .apply()
issues5 的遮罩是 Android 10
以上才有的,你也可以换个低版本的手机看一下是不是还有遮罩,如果还有,就说明不是同一个问题
Android 8的手机上测没有遮罩😂,我可以再研究一下
问题是由于在style添加了 <item name="android:windowTranslucentStatus">true</item>
引起
问题是由于在style添加了
<item name="android:windowTranslucentStatus">true</item>
引起
不应该啊,我会重新给他设为 false,我再看一样
UltimateBarX.with(this) .transparent() .light(true) .applyStatusBar()