StatusBarUtil
StatusBarUtil copied to clipboard
setDarkMode() 無效
Affected Device(s)
Answer︰HTC U11 with Android 9.0。

Describe the Bug: Add a clear description about the problem. Answer︰在Activity設置了StatusBarUtil.setDarkMode(this),但是無法讓狀態欄的文字顏色變成黑色。
目前的解決方法是使用com.scwang.refreshlayout.util.StatusBarUtil的darkMode()。

com.scwang.refreshlayout.util.StatusBarUtil https://github.com/scwang90/SmartRefreshLayout/blob/release/app/src/main/java/com/scwang/refreshlayout/util/StatusBarUtil.java
方法名字错了,两个对调就可以了