TextInputLayout default error color on Android -


since not easy customize color of error in textinputlayout, decided change error colour match 1 used default textinputlayout.

in design guidelines not find definition of default colour.

do know can find it?

the solution found check code of textinputlayout. found style

<style name="textappearance.design.error" parent="textappearance.appcompat.caption">     <item name="android:textcolor">@color/design_textinput_error_color</item> </style> 

where

<color name="design_textinput_error_color">#ffdd2c00</color> 

but seems not documented can change


Comments