Divider disappears from last item in listview if footerview added

Zoombie picture Zoombie · Apr 14, 2011 · Viewed 15.3k times · Source

If footer view added in ListView, then divider disappears from last item of ListView.

Even I have set android:footerDividersEnabled="true" with ListView and my footer view is just TextTiew.

Answer

inky picture inky · Aug 2, 2011

Setting isSelectable to true didn't work for me, maybe because I was also calling removeFooterView when my list was done loading.

What finally fixed it for me was setting android:layout_height to "fill_parent" instead of "wrap_content" on the ListView.