List View problem

cnicolapc

Active Member
Licensed User
Longtime User
Hi,

If I set the background of a listview with this code

Code: Copy
Dim cd As ColorDrawable
cd.Initialize(Colors.White, 0dip)
ListaCose.TwoLinesLayout.Background=cd

when I select the row is not highlighted?

Nicola
 
Unfortunately in ListView when you select an item it is not highlighted.
As vb1992 already pointed out you shols use a ScrollView. But it's up to you to change the colors for the selected item.
Have a look at ScrolView examples summarary.

Best regards.
 
Upvote 0
Back
Top