Skip to content

Commit

Permalink
fix textview statelistcolor
Browse files Browse the repository at this point in the history
  • Loading branch information
pichsy committed Mar 14, 2021
1 parent 5f28b1e commit 822c03b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ private void setSelector() {
builder.addPressedColor(pressedColor);
}
if (unEnabledColor != 0) {
builder.addPressedColor(unEnabledColor);
builder.addUnEnabledColor(unEnabledColor);
}
if (activatedColor != 0) {
builder.addPressedColor(activatedColor);
builder.addActivatedColor(activatedColor);
}
if (checkedColor != 0) {
builder.addPressedColor(checkedColor);
builder.addCheckedColor(checkedColor);
}
builder.setUnSateColor(normalColor);
mOwner.get().setTextColor(builder.build());
Expand Down

0 comments on commit 822c03b

Please sign in to comment.