优质的图片有利于推荐 [狗头保命]
解决办法:
ColorStateList colorStateList = getContext().getResources().getColorStateList(R.drawable.selector_txt_color);
//设置颜色
textView.setTextColor(colorStateList);
解决办法:
ColorStateList colorStateList = getContext().getResources().getColorStateList(R.drawable.selector_txt_color);
//设置颜色
textView.setTextColor(colorStateList);