title: Android : Create a button with border bottom
body: <p>I try to reproduce a button like this :</p>
  
  <p><img src="https://i.stack.imgur.com/ePvLd.jpg" alt="enter image description here"></p>
  
  <p>There is a gray background with a bottom border in other gray.</p>
  
  <p>I don't how to add this fine bottom border. Here is my result now :</p>
  
  <p><img src="https://i.stack.imgur.com/kp2Po.jpg" alt="enter image description here"></p>
  
  <p>Here is the code of my button :</p>
  
  <pre><code>   &lt;Button
          android:id="@+id/button_consulter_original"
          style="?android:attr/borderlessButtonStyle"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_marginBottom="20dp"
          android:layout_marginLeft="50dp"
          android:layout_marginRight="50dp"
          android:layout_marginTop="10dp"
          android:background="@drawable/button_custom"
          android:text="@string/detail_article_view_consulter_sur_web"
          android:textColor="@color/blanc" /&gt;
  </code></pre>
  
  <p>and the code of button_custom.xml :</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:drawable="@color/bleuactionbarFonce"
            android:state_pressed="true" /&gt;
      &lt;item android:drawable="@color/bleuHome"
            android:state_focused="true" /&gt;
      &lt;item android:drawable="@color/gray" /&gt;
  &lt;/selector&gt;
  </code></pre>