Remove the bottom divider of an android ListView

mkso picture mkso · Feb 10, 2011 · Viewed 33.2k times · Source

I have a fixed height ListView. It has divider between list items, but it also displays dividers after the last list item.

Is there a way to not display a divider after the last item in ListView?

Answer

Alex.Semeniuk picture Alex.Semeniuk · Feb 25, 2011

Just add android:footerDividersEnabled="false" to your ListView description