I have a listview with custom adapter and some elements inside. Then I added a header to this listView. The elements in the listView are separated by line and I would like to separate also with a line the header from the first element of the list.
Is that possible? If so, how can I do it.
Thank you very much.
Brought up from comments:
Simply add one of these answers to the bottom of your header’s layout: Android Drawing Separator/Divider Line in Layout?
I would lean towards the third answer with:
if you want to mimic the dividers that already exist.
Glad I could help!