I want to disable the Selector
from my ListView
. That's when I click any items there will be no indication that it has been clicked.
I tried this in my ListView tag:
android:listSelector="@null"
and didn't work
set this android:listSelector="#00000000" Try this.
The above answer from Kalpana is correct. You can also do it in code like this:-
myListView.setSelector(new ColorDrawable(0x0));
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With