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

能否支持暗黑模式适配 #42

Open
13923724235 opened this issue Jan 8, 2021 · 4 comments
Open

能否支持暗黑模式适配 #42

13923724235 opened this issue Jan 8, 2021 · 4 comments

Comments

@13923724235
Copy link

目前你弹窗里面的按钮什么的都是一些临时变量。你能否使用一个数组装好所有空间,然后使用tag方式,让我可以获取那些控件,我需要做暗黑适配。或者你有更好方式,能做到,感谢大神

@13923724235
Copy link
Author

@13923724235 13923724235 changed the title 能否支持暗黑适配 Jan 8, 2021
@choiceyou
Copy link
Owner

4.2.0:兼容深色模式(可通过参数修改深色模式下的相关色值)

@13923724235
Copy link
Author

4.2.0:兼容深色模式(可通过参数修改深色模式下的相关色值)

初始适配是没有问题,但是在使用APP中途切换手机的暗黑模式,要改变控件颜色,就拿不到你里面那些view元素,进行重新赋值,像圆角颜色,之类的,需要重新赋值的。

@choiceyou
Copy link
Owner

可以搜索 dark_xxx 相关属性,有不满足你需求的可以群里提

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