How to Remove Lines Between Listviews on Android

Remove line below items of listview

The line between the list items is the divider. You can easily remove that using XML; just add the following to your ListView:

        android:divider="@null"
android:dividerHeight="0dip"

That will remove the divider for you.

How do I remove the divider from a listview on android?

You can try android:divider="@null".

How to remove the border in a Listview?

do this

myListview.setDivider(null);

This should help you.

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

You can do using this code..

lvlist.setDivider(null);
lvlist.setDividerHeight(0);

how to hide the black lines betwen my ListView rows'

Try the following:

//Hide the divider
getListView().setDivider(null);

//set the divider height
getListView().setDividerHeight(0);

Or, if you want to do it in XML:

android:divider="@null"
android:dividerHeight="0dp"

Here is the Developer Notes

Also check the other threada about this problem:
How do I remove lines between ListViews on Android?



Related Topics



Leave a reply



Submit