title: How to change textinput edittext underline color when unfocused?
body: <p>I am using android design library's TextinputLayout. But couldn't customize the underline color of EditText inside TextinputLayout. Please help.</p>
  
  <p>I tried thises <a href="https://stackoverflow.com/questions/39221431/how-to-change-color-of-textinputlayouts-edittext-underline-android">how to change color of TextinputLayout&#39;s edittext underline android</a> and those <a href="https://stackoverflow.com/questions/35756757/material-edittext-underline-color">(Material) EditText underline color</a> .</p>
  
  <p>But unfortunetly could not make it to work.</p>
  
  <p>This is my last try which i tried today didnt worked :</p>
  
  <pre class="lang-java prettyprint-override"><code>&lt;android.support.design.widget.TextInputLayout
              android:id="@+id/tilPassword"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_below="@id/tilLogin"
              android:layout_marginBottom="@dimen/login_line_v_margin"
              app:hintTextAppearance="@style/TextAppearence.App.TextInputLayoutLight"&gt;
  
              &lt;EditText
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:hint="@string/passwordHint"
                  android:inputType="textPassword" /&gt;
          &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>
  
  <p>and the styles :</p>
  
  <pre class="lang-java prettyprint-override"><code>&lt;!-- Base application theme. --&gt;
      &lt;style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
          &lt;!-- Customize your theme here. --&gt;
          &lt;item name="colorPrimary"&gt;@color/colorPrimary&lt;/item&gt;
          &lt;item name="colorPrimaryDark"&gt;@color/colorPrimaryDark&lt;/item&gt;
          &lt;item name="colorAccent"&gt;@color/colorAccent&lt;/item&gt;
      &lt;/style&gt;
  
  &lt;style name="TextAppearence.App.TextInputLayoutLight" parent="@android:style/TextAppearance"&gt;
          &lt;item name="android:textColor"&gt;@color/colorTealLight&lt;/item&gt;
          &lt;item name="android:textSize"&gt;18sp&lt;/item&gt;
          &lt;item name="colorControlNormal"&gt;#fff&lt;/item&gt;
          &lt;item name="colorControlActivated"&gt;@color/colorTealLight&lt;/item&gt;
      &lt;/style&gt;
  </code></pre>
  
  <p>The problem I have is to have one clean solution for both underline and hint text colors.</p>
  
  <p>My goal is that this what I have here works for when text input layout is FOCUSED and its nice.
  Now I want to set it also for when text input layout is NOT FOCUSED.</p>