 <p>My solution using a <a href="http://developer.android.com/reference/android/app/ListFragment.html" rel="nofollow"><code>ListFragment</code></a>, based on the solutions by @Jakobud and @greg7gkb.</p> <pre><code>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); </code></pre>