Naruto
Naruto

Reputation: 9634

How to change the line between two elements in listview

Imagine a basic ListView, like this:

Item1
---------
Item2
---------
Item3
---------
Item4

How do I change the color or width of ------ the line that divides each item in a ListView?

Upvotes: 0

Views: 3000

Answers (1)

Anthea
Anthea

Reputation: 3809

Please try

 android:divider="#FF0000"
 android:dividerHeight="4px"

and have a look at that question: How to change color of Android ListView separator line?

Upvotes: 12

Related Questions