title: Specifying a border for a layout in xml with only the left and right edge visible
body: <p>I currently use the rectangle shape xml tag to specify borders for my views like so:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
    &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"&gt; 
      &lt;stroke android:width="1dp" android:color="#FF000000"/&gt; 
      &lt;padding android:left="0dp" android:top="0dp" android:right="0dp" android:bottom="0dp"/&gt;
      &lt;solid android:color="#DDDDDD"/&gt;
    &lt;/shape&gt; 
  </code></pre>
  
  <p>This works well for normal borders on all 4 edges of the view but what I would like is for something similar that only shows the border line on the left and right edges of the view and has no line on the top or bottom... I looked into the line drawable in the shape class but it seems it can only do horizontal lines, can that be right? Why wouldn't you be able to specify vertical lines?</p>
  
  <p>Is there a better way to do this?</p>
  
  <p>Thanks.</p>