title: Styling EditText view with shape drawable to look similar to new holographic theme for Android < 3.0
body: <p>I want to create a <a href="http://developer.android.com/guide/topics/resources/drawable-resource.html#Shape" rel="nofollow noreferrer">shape drawable</a> for  that mimics the new holographic theme (Android >=3.0) on older Android versions.</p>
  
  <p>It's quite easy to draw a line at the bottom with</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 &gt;
                &lt;solid android:color="@color/border" /&gt;
            &lt;/shape&gt;
        &lt;/item&gt;
  
        &lt;!-- main color --&gt;
        &lt;item android:bottom="1.5dp"&gt;
            &lt;shape &gt;
                &lt;solid android:color="@color/background" /&gt;
            &lt;/shape&gt;
        &lt;/item&gt;
    &lt;/layer-list&gt;
  </code></pre>
  
  <p>But how to draw the tick boundaries left and right as in the holo theme <img src="https://i.stack.imgur.com/HwKji.png" alt="slide from talk about android ui at Google I/O 2011"> </p>