We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
请问下一条中的主题色是怎么切换的? public void onColorSelection(@nonnull ColorChooserDialog dialog, @ColorInt int selectedColor) 方法中只有切换状态栏、任务栏、导航栏的颜色 请问是怎么动态切换主题色的?
The text was updated successfully, but these errors were encountered:
@lhzlg3368
@Override public void onResume() { super.onResume(); linearLayout.setBackgroundColor(SettingUtil.getInstance().getColor()); }
在 onResume 里重新设置颜色,但这么写部分机型可能会失效,正确写法是发送个 事件/广播 通知界面要更改颜色,可以看看我另一个项目 https://github.com/iMeiji/Daily
Sorry, something went wrong.
No branches or pull requests
请问下一条中的主题色是怎么切换的?
public void onColorSelection(@nonnull ColorChooserDialog dialog, @ColorInt int selectedColor)
方法中只有切换状态栏、任务栏、导航栏的颜色
请问是怎么动态切换主题色的?
The text was updated successfully, but these errors were encountered: