I have a bunch of views (LinearLayouts) that I have set clickable/selectable
and set the following background on them:
genreLayout.setBackgroundDrawable(
res.getDrawable(android.R.drawable.list_selector_background));
This yields the desired affect on pre-honeycomb devices where when pressing
the view, the backgrounds turns yellow etc... The problem is that the
background continues to turn yellow even on honeycomb - instead of the
proper blue background for all other lists in honeycomb when using
targetSDK=11
I tried changing that to list_selector_holo_dark which exists
in platforms/android-11/data/res/drawable/ but it didn't work but I get an
error when compiling that it could not find the symbol.
Anyone know if there is an easy way to get other views to use the honeycomb
list selector?
-Jack
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en