You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be fixed by invalidating the view on state changed:
@Override
protected boolean onStateChange(int[] state) {
// Upon state changes, grab the correct text color
if (updateTextColors(state)) {
invalidateSelf();
return true;
}
return false;
}
I've tested this on 4.0.4, 4.4.2 and 6.0.1. Happy to send a PR if you'd like.
The text was updated successfully, but these errors were encountered:
The color of the text does not update when used with a
ColorStateList
:This can be fixed by invalidating the view on state changed:
I've tested this on 4.0.4, 4.4.2 and 6.0.1. Happy to send a PR if you'd like.
The text was updated successfully, but these errors were encountered: