Skip to content

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

Description

@lixiang0418

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个属性?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions