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:
add an empty footer in your list like this:
TextView empty = new TextView(this); empty.setHeight(150); listview.addFooterView(empty);