title: How to set border color for EditText
body: <p>I have used this.</p>
  
  <pre><code>&lt;color name="edt_pressed"&gt;#99CBFF&lt;/color&gt;
  &lt;color name="edt_focused"&gt;#CEF7F6&lt;/color&gt;
  &lt;color name="edt_default"&gt;#000000&lt;/color&gt;
  </code></pre>
  
  <p><strong>gradient_edt_focused</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
  android:shape="rectangle"&gt;    
  &lt;stroke android:width="1dip" android:color="@color/edt_focused" /&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p><strong>edt_border.xml</strong></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_pressed="true" android:drawable="@layout/gradient_edt_pressed"/&gt;
  &lt;item android:state_focused="true" android:drawable="@layout/gradient_edt_focused"/&gt;
  &lt;item android:drawable="@layout/gradient_edt_default"/&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p><strong>activity_main.xml</strong></p>
  
  <pre><code>&lt;EditText
      android:id="@+id/uname" 
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"                
      android:singleLine="true"
      android:background="@layout/textview_border"/&gt;
  </code></pre>
  
  <p>Now the border is working fine but while typing text, that has the background color of black.</p>