Can I Hide the ListView Separator?

You can use the android:dividerHeight XML layout attribute to make the divider be 0px high.

Or, you can use the android:divider XML layout attribute to make the divider be transparent (#00000000).

Either of those should have the effect of "hiding" the separator. The difference is that in the latter, the space taken up by the separator will still be there.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License