As per Googles Material Guidelines:

<https://material.io/guidelines/components/text-fields.html#text-fields-layout>

TextInputLayout hint should be the same color as the Error message:

[![enter image description here](https://i.stack.imgur.com/YwawU.png)](https://i.stack.imgur.com/YwawU.png)

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

How can I change this behavior to account for Google's own guidelines?