[ad_1]
In Android a ListView can use custom xml to define each row.
A simple example of a custom row from an array would be just
setListAdapter(new ArrayAdapter<String>(this, R.layout.list_row_xml, sourceArray)); where list_row_xml.xml defines how each row looks.
There is a tutorial
here which shows you how to use more advanced custom rows. Specifically you’re looking for his row.xml code.
Hope that helps
[ad_2]
solved Show vertical borders for each child view in a ListView row