Android : Android Shape Custom Rectangle

on Friday, October 31, 2014


I have this to draw a rectangle.



<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#00000000" />
<stroke android:width="1dp" android:color="#ffffff" android:dashWidth="0dp" android:dashGap="0dp" />
</shape>


But I want only 2 horizontal lines on the top and on the bottom. How do we achieve that?


Iwant to achieve no 2


0 comments:

Post a Comment