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

自动调整深色模式与亮色模式 #245

Merged
merged 5 commits into from
Dec 25, 2018
Merged

Conversation

xiandanin
Copy link
Contributor

@xiandanin xiandanin commented Dec 15, 2018

增加一个 自动根据StatusBar和NavigationBar颜色调整深色模式与亮色模式 的功能和示例

无需再关心StatusBar和NavigationBar颜色是否会引起看不清的情况,开启之后会根据设置的颜色,自动调整该用深色模式还是亮色模式

111111

ImmersionBar.with(this).enableAutoDarkMode(true).init()

AutoDarkModeActivity

@gyf-dev
Copy link
Owner

gyf-dev commented Dec 17, 2018

谢谢pull,很不错,用空我这边测一下,然后在合并

@xiandanin xiandanin changed the title 自动调整状态栏字体 自动调整深色模式与亮色模式 Dec 21, 2018
@gyf-dev
Copy link
Owner

gyf-dev commented Dec 25, 2018

你拉一下最新的代码,然后我在合并,enableAutoDarkMode改为autoDarkModeEnable吧

# Conflicts:
#	sample/src/main/java/com/gyf/immersionbar/activity/MainActivity.java
@xiandanin
Copy link
Contributor Author

更新了

@gyf-dev gyf-dev merged commit 5ff81a3 into gyf-dev:master Dec 25, 2018
@gyf-dev
Copy link
Owner

gyf-dev commented Dec 25, 2018

明天将更新出来可用

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

Successfully merging this pull request may close these issues.

2 participants