I have created a list view with a custom layout for the header and rows items many times but what always annoys me is the UI preview in Android Studio does not show a previe
You can use tools:listitem. Just add the tools namespace in the root of the layout
and then in your ListView set your list item layout
Is also possible to set header/footer with listheader/listfooter.
listheader
listfooter