I am using a ListView. But the top-most and bottom-most horizontal bar does not show up. Why? I am using this:
android:divider=\"@android:drawable/divider_horiz
First you'll have to enable the footerDividers in XML:
android:footerDividersEnabled="true"
Then simply add a dummy footer view like this
listview.addFooterView(new View(this), null, false);
You can do the same for header