I was wondering how to create straight lines in xml.
Asked
Active
Viewed 2.1k times
11
-
How to create straight lines in xml...? Do you mean how to I store geometric points that can be used to make a line in XML? – Robert Massaioli Mar 15 '11 at 23:17
2 Answers
27
Use this to display a single white line with xml
<View android:layout_width="1dip"
android:layout_height="fill_parent"
android:background="#FFFFFF" />

andreasg
- 1,070
- 8
- 8
3
I think you are looking for something like this...