|
@@ -200,6 +200,18 @@ public class IMThemManager {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ public void setTextDrawableStyle1(TextView textView) {
|
|
|
+ Drawable backgroundDrawable = null;
|
|
|
+ backgroundDrawable = textView.getBackground();
|
|
|
+ if (backgroundDrawable != null) {
|
|
|
+ if (mainStyleColor != -1) {
|
|
|
+ backgroundDrawable.setTint(mainStyleColor);
|
|
|
+ } else {
|
|
|
+ backgroundDrawable.setTintList(null);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
public void setComplainImgDrawableStyle1(ImageView imageView) {
|
|
|
if (complainTitleImgTagRes != -1) {
|
|
|
imageView.setImageResource(complainTitleImgTagRes);
|