ListView item won't stay “selected”

后端 未结 10 1303
暗喜
暗喜 2020-12-10 05:50

I want to change the background of a listview item when the user clicks it. Kind of like the Honeycomb settings page (Although I\'m not dealing with just settings so I\'m no

10条回答
  •  既然无缘
    2020-12-10 06:45

    I used android:state_activated="true" instead of state_selected. It works like a charm!

提交回复
热议问题