android - Divider in listview -


In my application I am showing the data from the database in the list view. Showing list view 2 columns. Now I want to draw a horizontal line between this 2 in which there should be a display that separates 2 columns. Please help me Thank you. Thanks in advance.

You must maintain a separate XML file to display the list view item, list xml file Use horizontal and vertical view between textViews

so that the horizontal divider Android: layout_width = "fill_parent" Android: layout_height = "2dp" Android: background = "# 2B 497B" / Use this code

  & lt; View Android: & gt;   

and for vertical divider

  see Android: Android: Android: Android: layout_width = "2dip" Android: layout_height = "Fill_parent" Android: background = "# 2B497B" />   

Good luck

Comments