Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setDarkMode() 無效 #285

Open
tenSunFree opened this issue Jan 24, 2020 · 1 comment
Open

setDarkMode() 無效 #285

tenSunFree opened this issue Jan 24, 2020 · 1 comment

Comments

@tenSunFree
Copy link

Affected Device(s)
Answer︰HTC U11 with Android 9.0。
2020-01-20_065031

Describe the Bug:
Add a clear description about the problem.
Answer︰在Activity設置了StatusBarUtil.setDarkMode(this),但是無法讓狀態欄的文字顏色變成黑色。

目前的解決方法是使用com.scwang.refreshlayout.util.StatusBarUtil的darkMode()。
2020-01-24_230601

com.scwang.refreshlayout.util.StatusBarUtil
https://github.com/scwang90/SmartRefreshLayout/blob/release/app/src/main/java/com/scwang/refreshlayout/util/StatusBarUtil.java

@guobinAndroid
Copy link

方法名字错了,两个对调就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants