Source

To remove the separator between items in the same ListView, here is the solution:
***

Java Code

[sourcecode language="java"]
getListView().setDivider(null);
getListView().setDividerHeight(0);
[/sourcecode]

Or, if you want to do it in XML:

[sourcecode language="xml"]
android:divider="@null"
android:dividerHeight="0dp"
[/sourcecode]