title: Changing the color of EditText's underline
body: <p>I have tried to change the underline color of my EditText with the help of <a href="https://stackoverflow.com/questions/34592451/change-size-of-edittext-bottom-border">this thread.</a></p>
  
  <p>I did the same thing - this is the <code>EditText</code> with the <code>android:background</code> set as <code>@drawable/edt_bg_selector</code>.</p>
  
  <pre><code>&lt;EditText
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:ems="10"
           android:id="@+id/editText4"
           android:layout_weight="1"
           android:elevation="0dp"
           android:background="@drawable/edt_bg_selector" /&gt;
  </code></pre>
  
  <p>My <code>edt_bg_selector</code>:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:state_focused="true" android:drawable="@drawable/edt_bg_selected" /&gt;
      &lt;item android:state_focused="false" android:drawable="@drawable/edt_bg_normal" /&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>... <code>edt_bg_normal.xml</code> ...</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android" &gt;
      &lt;item
          android:bottom="1dp"
          android:left="-2dp"
          android:right="-2dp"
          android:top="-2dp"&gt;
          &lt;shape android:shape="rectangle" &gt;
              &lt;stroke
                  android:width="1px"
                  android:color="@color/colorWhite" /&gt;
  
              &lt;solid android:color="#00FFFFFF" /&gt;
  
              &lt;padding
                  android:bottom="5dp"
                  android:left="5dp"
                  android:right="5dp"
                  android:top="5dp" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>... and the last, <code>edt_bg_selected.xml</code> .</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android" &gt;
      &lt;item
          android:bottom="1dp"
          android:left="-2dp"
          android:right="-2dp"
          android:top="-2dp"&gt;
          &lt;shape android:shape="rectangle" &gt;
              &lt;stroke
                  android:width="1px"
                  android:color="@color/colorWhite" /&gt;
  
              &lt;solid android:color="#00FFFFFF" /&gt;
  
              &lt;padding
                  android:bottom="5dp"
                  android:left="5dp"
                  android:right="5dp"
                  android:top="5dp" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>With this code I can see the color of underline has changed to white in Design Editor of Android Studio. But when I run this project on android device, the changes haven't been made. Selected <code>EditText</code>'s underline is my <code>primaryColor</code> and unselected <code>EditText</code> is black. </p>
  
  <p>Android studio design editor:</p>
  
  <p><a href="https://i.stack.imgur.com/lFXpf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/lFXpf.png" alt="Android studio design editor"></a></p>
  
  <p>Project run on android device:</p>
  
  <p><a href="https://i.stack.imgur.com/ytxJZ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ytxJZ.png" alt="android device"></a></p>
  
  <p>Does this have anything to do with the selected theme of my application? Or what did I miss?</p>