I need to add to add ListView with complicated items background: different for even/odd and rounded corners at the top and bottom. It looks like this:
Another solution might be that you make a mock view with certain height.
In your adapter in getViewCount return 2.
In getCount return yourData.size+1.
In getViewType check if the element is last element return 2;
Use this type in getView to populate the mockview.