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_horizontal_bright"
Have you looked into setting android:headerDividersEnabled
and android:footerDividersEnabled
on the ListView
?
Also, if you look for drawDivider
in platform/frameworks/base/+/master/core/java/android/widger/ListView.java in the Android open source repository, you'll be able to find some more clues.