imbault Well-Known Member Licensed User Longtime User Dec 21, 2015 #1 Is there a way to change or disable the background color of a CustomListView panel whan it's clicked, it seems to be a orange color... maybe @Erel should know. And code to change seems also to be in the initialize of the class itself : Code: Copy Dim idPressed As Int idPressed = r.GetStaticField("android.R$drawable", "list_selector_background") Thanks. Patrick
Is there a way to change or disable the background color of a CustomListView panel whan it's clicked, it seems to be a orange color... maybe @Erel should know. And code to change seems also to be in the initialize of the class itself : Code: Copy Dim idPressed As Int idPressed = r.GetStaticField("android.R$drawable", "list_selector_background") Thanks. Patrick
Erel B4X founder Staff member Licensed User Longtime User Dec 22, 2015 #2 imbault said: maybe @Erel should know Click to expand... Please don't do it. Leave your questions open to all members. You can change the color with: Code: Copy Dim cd As ColorDrawable cd.Initialize(Colors.Red, 0) pressedDrawable = cd Upvote 0
imbault said: maybe @Erel should know Click to expand... Please don't do it. Leave your questions open to all members. You can change the color with: Code: Copy Dim cd As ColorDrawable cd.Initialize(Colors.Red, 0) pressedDrawable = cd