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
How to Globally Force Screen Orientation in Android
How to Display Progress Dialog Before Starting an Activity in Android
How to Determine If Network Type Is 2G, 3G or 4G
Android Studio Fails to Debug with Error Org.Gradle.Process.Internal.Execexception
Gles10.Glgetintegerv Returns 0 in Lollipop Only
Android Firebase Dynamitemodule: Failed to Load Module Descriptor
Using Contextmenu with Listview in Android
How to Rename the Android Package Name
Edittext: Disable Paste/Replace Menu Pop-Up on Text Selection Handler Click Event
How to Show an Activity Before My App Is Uninstalled (Android)
How to Avoid "Illegalstateexception: Scrollview Can Host Only One Direct Child"
Error Java.Lang.Classnotfoundexception: Com.Google.Android.Gms.Maps.Mapfragment in Google Map V2
Android: How to Overlay a Bitmap and Draw Over a Bitmap
Android - Drawable with Rounded Corners at the Top Only
How to Create Edittext with Cross(X) Button at End of It
Textwatcher for More Than One Edittext