Properly apply colors to end icons in text input layout
This commit is contained in:
parent
f5b7b3b48a
commit
e2b71819d0
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ class MyTextInputLayout : TextInputLayout {
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
setEndIconTintList(ColorStateList(arrayOf(intArrayOf(0)), intArrayOf(hintColor)))
|
||||||
setBoxStrokeColorStateList(boxColorState)
|
setBoxStrokeColorStateList(boxColorState)
|
||||||
defaultTextColor.set(this, ColorStateList(arrayOf(intArrayOf(0)), intArrayOf(defaultHintTextColor)))
|
defaultTextColor.set(this, ColorStateList(arrayOf(intArrayOf(0)), intArrayOf(defaultHintTextColor)))
|
||||||
setHelperTextColor(ColorStateList.valueOf(textColor))
|
setHelperTextColor(ColorStateList.valueOf(textColor))
|
||||||
|
|
Loading…
Reference in a new issue