title: Style bottom Line in Android
body: <p>I need to create an android shape so that only the bottom has stroke (a dashed line). When I try the following, the stroke bisects the shape right through the center. Does anyone know how to get it right? the stroke needs to be the bottom line/border. I am using the shape as a background to a TextView. Please, never mind why I need it.</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&gt;
          &lt;shape android:shape="rectangle" &gt;
              &lt;solid android:color="#1bd4f6" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  
      &lt;item&gt;
          &lt;shape android:shape="line" &gt;
              &lt;padding android:bottom="1dp" /&gt;
  
              &lt;stroke
                  android:dashGap="10px"
                  android:dashWidth="10px"
                  android:width="1dp"
                  android:color="#ababb2" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  
  &lt;/layer-list&gt;
  </code></pre>