Possible Duplicate:
Android Drawing Separator/Divider Line in Layout?
I am making something similar to a list view, without actually making a list view...
I have a bunch of text views in a vertical layout, and I am wondering if it is possible to get some sort of divider line in between them. The line dividers like they have in List Views..
Any help?
You can use a textview to create a divider line
Example:
<TextView
android:layout_width="fill_parent"
android:layout_height="1px"
android:background="#DADADA" />
You can insert View
with background of any color you want and
layout_height = "1dp"
(or more if necesary) and
layout_width="fill_parent"
.
精彩评论