示例#1
0
 public void setColor(int color) {
   mColorStateList = ColorStateList.valueOf(color);
   onStateChange(getState());
 }
示例#2
0
 public void setColor(ColorStateList colorStateList) {
   mColorStateList = colorStateList;
   onStateChange(getState());
 }