I'm trying to set the hintTextColor
AND the boxStrokeColor
of Material Design's textInputLayout
into 3 different state of colors, for example:
- red for when it's
disabled
(I don't know how to set theboxStrokeColor
indisabled
state, so please don't mind the screenshot)
- blue for when it's
enabled
butunfocused
- green for when it's
enabled
ANDfocused
How can I accomplish this?
For the hintTextColor
, I've tried the suggestion made by Gabriele Mariotti in here, but the problem is one of the colors is applied to two different states ([disabled
] and [enabled
but unfocused
]), and I want to differentiate these two.