I'd like to set a box stroke color in disabled state to one color, and at the same time set label text color to another color. Currently it's not possible, as both color values are taken from disabledColor:
Stroke color (code from TextInputLayout v1.2.0-alpha02):
if (!isEnabled()) {
boxStrokeColor = disabledColor;
}
Hint color:
if (!isEnabled) {
collapsingTextHelper.setCollapsedTextColor(ColorStateList.valueOf(disabledColor));
collapsingTextHelper.setExpandedTextColor(ColorStateList.valueOf(disabledColor));
}
I'd like to be able to style them separately via custom attributes.
I'd like to set a box stroke color in disabled state to one color, and at the same time set label text color to another color. Currently it's not possible, as both color values are taken from
disabledColor:Stroke color (code from
TextInputLayoutv1.2.0-alpha02):Hint color:
I'd like to be able to style them separately via custom attributes.