I would like to programmatically set the background of an ActionBar
item to draw as a specific color.

For a View I would accomplish this by setting the background of the
View to a custom selector, which uses my specific color for the
"selected" state; then I would call View.setSelected(boolean) to
toggle the specific color on and off.

Is there a way to accomplish the same effect for items in the
ActionBar?

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