This is a pretty fine question about the layout of items in a ListView in Android.
I have an activity with a title bar at the top and a ListView taking up the rest
My solution using a ListFragment, based on the solutions by @Jakobud and @greg7gkb.
ListView listView = getListView();
listView.setDivider(null);
listView.setDividerHeight(getResources().getDimensionPixelSize(R.dimen.divider_height));
listView.setHeaderDividersEnabled(true);
listView.setFooterDividersEnabled(true);
View padding = new View(getActivity());
listView.addHeaderView(padding);
listView.addFooterView(padding);