I am currently working on making my application compatible with pre 3.0 devices with the aid of actionbarsherlock. My application has a custom theme which overide Holo.light changing the blue to orange.
I am wanting to change the blue line which appears under the actionbar to orange. With the official actionbar I managed this by overriding
<item name="android:background">@drawable/ad_tab_unselected_holo</item>
Unfortunately this does not seem to be working in actionbarsherlock 4.
You need to do two things:
The ABS 4 now mimics the standard Action bar with its attributes so you need to add –
Notice the absence of
android:So your overall code would be:
To quote:
I would also extend a varient of
Theme.Sherlockrather than holo, as I believe holo is not available on older devices that are pre 3.0.