fahad wrote:
> Hi,
> 
> I've set the row (view) being used in a ListView as non-focusable
> along with non-clickable and have set the listview's focusable flag to
> false as well. However, I still get the yellow highlight when I use
> the scroll-ball on my device. How can I disable the yellow highlight
> and use my own special view/color instead upon focus?
> 
> Any help would be much appreciated.

android:listSelector in your ListView XML will allow you to change the
color/drawable used for the highlight. You can also set it to be fully
transparent (#00000000) and "roll your own" highlighting, if you feel
the need.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to