title: How to change the floating hint color of TextInputLayout if EditText inside is disabled
body: <p>I am using <code>EditText</code> with <code>TextInputLayout</code>. I just want to change the floating hint color of <code>TextInputLayout</code> if the EditText is disabled. I tried with selector it is not working. </p>
  
  <pre><code>&lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:state_enabled="false" android:textColor="@color/darkGray" /&gt;
      &lt;item android:state_pressed="false" android:state_focused="false" android:textColor="@color/lightGray"/&gt;
  &lt;/selector&gt;
  </code></pre>