|
@@ -38,6 +38,7 @@ import com.tencent.qcloud.tuikit.tuichat.config.TUIChatConfigs;
|
|
public class IMThemManager {
|
|
public class IMThemManager {
|
|
private Drawable tabIndicatorDrawable = null;
|
|
private Drawable tabIndicatorDrawable = null;
|
|
private int mainStyleColor = -1;
|
|
private int mainStyleColor = -1;
|
|
|
|
+ private int searchTextColor = -1;
|
|
private int searchIconRes = -1;
|
|
private int searchIconRes = -1;
|
|
private int searchBtBackgroundRes = -1;
|
|
private int searchBtBackgroundRes = -1;
|
|
private int checkBtDrawableRes = -1;
|
|
private int checkBtDrawableRes = -1;
|
|
@@ -162,6 +163,12 @@ public class IMThemManager {
|
|
instance.setMainStyleColor(mainStyleColor);
|
|
instance.setMainStyleColor(mainStyleColor);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public void setSearchTextColor(int searchTextColor) {
|
|
|
|
+ this.searchTextColor = searchTextColor;
|
|
|
|
+ MessageProperties instance = MessageProperties.getInstance();
|
|
|
|
+ instance.setSearchTextColor(searchTextColor);
|
|
|
|
+ }
|
|
|
|
+
|
|
public void setSearchIconRes(int searchIconRes) {
|
|
public void setSearchIconRes(int searchIconRes) {
|
|
this.searchIconRes = searchIconRes;
|
|
this.searchIconRes = searchIconRes;
|
|
MessageProperties.getInstance().setSearchIconRes(searchIconRes);
|
|
MessageProperties.getInstance().setSearchIconRes(searchIconRes);
|
|
@@ -187,6 +194,7 @@ public class IMThemManager {
|
|
this.tabIndicatorDrawable = null;
|
|
this.tabIndicatorDrawable = null;
|
|
setMainStyleColor(-1);
|
|
setMainStyleColor(-1);
|
|
setSearchIconRes(-1);
|
|
setSearchIconRes(-1);
|
|
|
|
+ setSearchTextColor(-1);
|
|
this.searchBtBackgroundRes = -1;
|
|
this.searchBtBackgroundRes = -1;
|
|
this.checkBtDrawableRes = -1;
|
|
this.checkBtDrawableRes = -1;
|
|
this.mainButtonBackgroundRes = -1;
|
|
this.mainButtonBackgroundRes = -1;
|