. , drawables, textview sttyle:
<TextView android:text="Hi there" android:background="@drawable/my_border/>
drawable/my_border:
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
<solid android:color="#ffffff" />
<stroke android:width="1dip" android:color="#e2e2e2"/>
</shape>
/ , :
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
//this is your textview main background
<shape android:shape="rectangle">
<solid android:color="#ffffff" />
</shape>
</item>
//this will then draw only left border with specified colour and width
<item android:left="1dp">
<shape android:shape="rectangle">
<solid android:color="#e1e1e1" />
</shape>
</item>