Пример #1
0
 public void setColor(int color) {
   mColorStateList = ColorStateList.valueOf(color);
   onStateChange(getState());
 }
Пример #2
0
 public void setColor(ColorStateList colorStateList) {
   mColorStateList = colorStateList;
   onStateChange(getState());
 }