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

白色主题情况下,状态栏内容看不清。 #6

Open
captain-miao opened this issue Oct 13, 2019 · 2 comments
Open

白色主题情况下,状态栏内容看不清。 #6

captain-miao opened this issue Oct 13, 2019 · 2 comments

Comments

@captain-miao
Copy link

StatusBarUtil.setTransparentForWindow(this);

设置之后,白色主题 status bar 变白,看不见状态栏的内容了。

@Ye-Miao
Copy link
Owner

Ye-Miao commented Oct 17, 2019

如果设置的是白色透明主题,只需要在添加一句
StatusBarUtil.setDarkMode(this);

@Ye-Miao
Copy link
Owner

Ye-Miao commented Oct 17, 2019

StatusBarUtil.setDarkMode(this); 只适用于Android6.0及以上机型

@Ye-Miao Ye-Miao reopened this Oct 24, 2019
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