Can the current colour of a listview item be changed in code?

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Everyone,

If a user taps an item in a listview, is it possible to display the list item the user tapped in a different colour?

I would like to do that because my app has a listview on the left side of the screen and a tabhost view that allows the user to see several pages of details but it's difficult to know which details are being viewed because the default behaviour of the listview does not show the current selection.

Thanks.
 

eps

Expert
Licensed User
Longtime User
Upvote 0

rleiman

Well-Known Member
Licensed User
Longtime User
Hi eps,

For now I think instead of changing it to use a scrollview, I'll just change the title of the activity to indicate which item was selected in the list when the user clicks it.

Thanks for the reply.
 
Upvote 0
Top