Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide the horizontal line at the bottom of each item in android listview? [duplicate]

It seems that there is a horizontal line by default at the bottom of each item in android listview. My problem is: how to let the line not display

like image 518
David Avatar asked Jun 27 '11 07:06

David


1 Answers

You can do using this code..

lvlist.setDivider(null);
lvlist.setDividerHeight(0);
like image 190
Nikhil Avatar answered Oct 12 '22 16:10

Nikhil