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

动态设置颜色和图片时,换肤失效! #47

Open
lixiang0418 opened this issue Jul 5, 2019 · 0 comments
Open

动态设置颜色和图片时,换肤失效! #47

lixiang0418 opened this issue Jul 5, 2019 · 0 comments

Comments

@lixiang0418
Copy link

lixiang0418 commented Jul 5, 2019

1:使用apk插件换肤时,如果在代码里动态设置颜色或者底图时,就会失败,求指教应该怎么处理!
if(true){
textview.setTextColor();
textview.setBackgroundResource(
);
}else{
textview.setTextColor();
textview.setBackgroundResource(
);
}
这种逻辑,换肤失败,求大神指教!

2:如果TextView textview = new TextView();
textview 如何在代码中设置tag, TextColor 和 Background 都需要改变!
textview.setTag();怎么写2个属性?

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

1 participant