TextInputLayout hint color in error state : <p>As per Googles Material Guidelines:</p>

<p><a href="https://material.io/guidelines/components/text-fields.html#text-fields-layout" rel="noreferrer">https://material.io/guidelines/components/text-fields.html#text-fields-layout</a></p>

<p>TextInputLayout hint should be the same color as the Error message:</p>

<p><a href="https://i.stack.imgur.com/YwawU.png" rel="noreferrer"><img src="https://i.stack.imgur.com/YwawU.png" alt="enter image description here"></a></p>

<p>However it is not like that and when I call <code>setError("My error")</code> only the underline and the error message show up in red.</p>

<p>How can I change this behavior to account for Google's own guidelines?</p>
