I'm trying to create a ShapeDrawable for the background of my table cells. At the moment, I have a white rectangle with a 1px black border:
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape= "rectangle" >
<solid android:color="#fff"/>
<stroke android:width="1dp" android:color="#000"/>
</shape>
I'd like to get this exact thing but with the border only along the top and bottom of the shape. Can someone show how to do this, or link to a page explaining how to use ShapeDrawable? Thanks!