Sando
Sando

Reputation: 1881

How to design custom list view in android?

How to design a Listview of this type in which  selctor should only be focused on list not the list icon

Upvotes: 3

Views: 2346

Answers (1)

Aleadam
Aleadam

Reputation: 40401

Plenty of tutorials on the web for that:

For that particular case, my guess is that, next to the icon, there is a RelativeLayout with three TextViews, and using a custom background drawable. That drawable will define different background colors with a selector depending on the android:state_selected and/or android:state_pressed states.

Upvotes: 5

Related Questions