Skip to content

Instantly share code, notes, and snippets.

@JaisonBrooks
Created August 6, 2014 17:37
Show Gist options
  • Save JaisonBrooks/2cff8285f24920e5712b to your computer and use it in GitHub Desktop.
Save JaisonBrooks/2cff8285f24920e5712b to your computer and use it in GitHub Desktop.
ListView - Padding Fix
<ListView
android:id="@+id/list_view"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:divider="@android:color/transparent"
android:dividerHeight="10.0sp"
android:padding="16dip"
android:clipToPadding="false"/>
// The Magic is this | android:clipToPadding="false"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment