Skip to content

Instantly share code, notes, and snippets.

@Artur-Sulej
Created November 24, 2015 23:31
Show Gist options
  • Save Artur-Sulej/bae5579d0f845fb1b490 to your computer and use it in GitHub Desktop.
Save Artur-Sulej/bae5579d0f845fb1b490 to your computer and use it in GitHub Desktop.
Attributes of a listView making its dividers disappear.
<ListView
android:id="@+id/list_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:animationCache="false"
android:cacheColorHint="@color/transparent"
android:divider="@color/transparent"
android:dividerHeight="0dp"
android:listSelector="@color/transparent"
android:scrollingCache="false"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment