by default for an android listview, when you touch it, it has an orange color. does anyone know how to override this? there doesn't seem to be a method for it.
A:
In the layout xml file, add the property
android:clickable="false"
to the listview.
AndrewKS
2010-10-22 20:04:13
didn't work for me
2010-10-22 20:27:22
ok wrong one then. Updated my answer. Try that.
AndrewKS
2010-10-22 21:07:25
+1
A:
You have to define a background for your item views based on a State List Drawable.
Kevin Gaudin
2010-10-22 23:25:36