views:

59

answers:

2

I have a list view full of items, after the users selects an item it lights up, and then it goes normal. Is there a way to make it so after the users select an item in my ListView it stays selected, and highlighted?

Thanks

A: 

Setting android:choiceMode to single or multiple should do the trick.

BrennaSoft
this.lvTables.setChoiceMode(ListView.CHOICE_MODE_SINGLE);It didn't change anything, it still gets unhighlighted after 1 select.
aryaxt
A: 

Is there a way to make it so after the users select an item in my ListView it stays selected, and highlighted?

That's not how Android works.

CommonsWare