i am creating an android app in which support level api is 7 so i am using sherlock actionbar. I am using action mode in it. Issue is i want to change the background of action mode. So i have tried
<item name="android:background">@color/something</item>
<item name="android:backgroundStacked">@color/something</item>
<item name="android:backgroundSplit">@color/something</item>
if you want change the color of ActionBar just do this:
see the following link for more info
and if you using ActionMode This is the style used for any ActionMode. You'll need to create your own style to customize it
more info in this site
see this too
Edit
for pre-Honeycomb see this please
maybe this or this helped you
I wanna make more clearer this answer. First create custom background "storage_list_header_shape.xml" in your drawable folder.
Second, create custom style in your style.xml
Third, call the style in your manifest.
This is the style used for any ActionMode, I pulled it from the SDK. You'll need to create your own style to customize it. It's really easy to do. If you've never done anything like this before, you should read through this post on customizing the ActionBar. It explains everything you'll need to know.