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

android 默认的xml主题怎么切换呢 #69

Open
realicing opened this issue Mar 15, 2018 · 1 comment
Open

android 默认的xml主题怎么切换呢 #69

realicing opened this issue Mar 15, 2018 · 1 comment

Comments

@realicing
Copy link

比如我在AndroidManifest.xml中定义了application的主题为
android:theme="@style/AppTheme"
AppTheme中使用了colorAccent
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
@color/theme_color_accent
</style>
在app中定义了颜色theme_color_accent为红色
#ff0000
在皮肤中定义了颜色theme_color_accent为蓝色
#00ff00
我要的效果是使用你的皮肤框架切换后,colorAccent的值会从红色变为皮肤中的绿色

@burgessjp
Copy link
Owner

这个现在还不支持主题里面的属性,后面有时间了我再考虑下

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

No branches or pull requests

2 participants