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

Java代码中手动设置颜色导致主题切换颜色不刷新问题 #74

Open
Mr-Zheng-yz opened this issue Jul 29, 2022 · 1 comment

Comments

@Mr-Zheng-yz
Copy link

如在代码中为TintTextView设置文字颜色:
textView3.setTextColor(ThemeUtils.getColorById(textView3.getContext(), R.color.theme_color_primary));
主题切换后文字颜色不会主动刷新。

@xyczero
Copy link
Member

xyczero commented Aug 4, 2022

需要自己实现switchcolor替换,或者配置values-night

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