I want two white lines -one on top of the view ,and the other one on the bottom the view!!!
no left and right borders!!!!!
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#00000000"/>
<stroke android:width="0.1dp" android:color="#FFFFFF" />
<corners android:radius="5dp"/>
<padding android:left="5dp" android:top="5dp" android:right="5dp" android:bottom="5dp" />
</shape>
I get a rectangle shaped view with white border,and transparent background.
But i want only the top and bottom lines of rectangle ,and not left and right lines of rectangle .
I want a view with border only on top and bottom,that will seem like sandwiched between two thin lines?