To remove the separator between items in the same ListView, here is the solution:
getListView().setDivider(null);
getListView().setDividerHeight(0);
developer.android.com # ListView
Or, if you want to do it in XML:
android:divider="@null"
android:dividerHeight="0dp"
More Related Contents:
- ListView inside ScrollView is not scrolling on Android
- Limit height of ListView on Android
- ANDROID : split the screen in 2 equals parts with 2 listviews
- Mask ImageView with round corner background
- Placing ViewPager as a row in ListView
- Save data in a SQLite database with the original format and view those data again with that form format
- How can you tell when a layout has been drawn?
- OnItemCLickListener not working in listview
- Hide/Show bottomNavigationView on Scroll
- ListView with OnItemClickListener
- Android ListView Text Color
- ListView subobject clickable confilct
- Changing position of the Dialog on screen android
- Place 2 textview beside each other with 2nd textview always visible
- What is the difference between background, backgroundTint, backgroundTintMode attributes in android layout xml?
- ListView in ArrayAdapter order get’s mixed up when scrolling
- How to change Toolbar Navigation and Overflow Menu icons (appcompat v7)?
- android listview get selected item
- how to display fetched json data into listview using baseadapter
- Android: is using setContentView multiple times bad while changing layouts?
- how to add padding between menu items in android? [duplicate]
- Android Keyboard hides EditText
- BaseAdapter causing ListView to go out of order when scrolled
- Hide footer view in ListView?
- Edit Text in ListActivity ListView loses focus when keyboard comes up
- Something’s wrong in Corner radius Android
- Android SlidingTabLayout with icons
- Hex colors in Android are sometimes eight digits. How? What is the difference between #FFFFFF and #FFFFFF00?
- What event is fired after all views are fully drawn?
- ERROR No package identifier when getting value for resource number