What you are probably thinking of is actually "checked", not
"selected". See this question that I asked on this topic earlier
today:

http://stackoverflow.com/questions/5274982/compatibility-lib-fragments-activated-and-a-headache

On Fri, Mar 11, 2011 at 6:53 PM, Jack Deslippe <[email protected]> wrote:
> 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

-- 
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

Reply via email to