title: android - Change color of floating label in TextInputLayout
body: <p>I try to use the TextInputLayout, I success changing the color of the floating label by following this <a href="https://stackoverflow.com/questions/30546430/how-to-change-the-floating-label-color-of-textinputlayout">post</a>, using <code>android:theme="@style/TextLabel"</code> makes floating label color change. However, it only works for Android version 5.0 and above.</p>
  
  <p>For lower version of Android, I use <code>app:hintTextAppearance="@style/TextAppearance.AppCompat"</code>. Here is my code:</p>
  
  <pre><code>&lt;style name="EditTextHint" parent="TextAppearance.AppCompat"&gt;
      &lt;item name="android:textColor"&gt;#bbbbc9&lt;/item&gt;
      &lt;item name="android:textColorHint"&gt;#bbbbc9&lt;/item&gt;
      &lt;item name="android:textSize"&gt;11.5sp&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;android.support.design.widget.TextInputLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          app:hintTextAppearance="@style/EditTextHint"&gt;
  
          &lt;EditText
              android:id="@+id/fet_input_left"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:background="@android:color/transparent"
              android:paddingTop="7.5dp"
              android:textColor="#595968"
              android:textSize="14sp" /&gt;
  &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>
  
  <p>The problem is that the color of floating label only change to <code>#bbbbc9</code> when user tab on the EditText. If user tab on the other EditText, the color is changed to default. Here is the picture:</p>
  
  <p><a href="https://i.stack.imgur.com/MqUtF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MqUtF.png" alt="Correct color"></a><br>
  Correct Color: <code>bbbbc9</code><br></p>
  
  <p><a href="https://i.stack.imgur.com/BO85s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BO85s.png" alt="Error color"></a><br>
  Error Colorlt: default color</p>
  
  <p>If you have any suggestions, please let me know. Any ideas would be appreciated.</p>
  
  <p>Thank you in advance!</p>