Re this example from the Android developer blog
http://android-developers.blogspot.com/2011/04/customizing-action-bar.html
It says that to style the tabs on the action bar, to use a style like this:
<style name="MyActionBarTabStyle" parent="android:style/Widget.Holo.Light.ActionBarView_TabView">
<item name="android:background">@drawable/actionbar_tab_bg</item>
<item name="android:paddingLeft">32dp</item>
<item name="android:paddingRight">32dp</item>
</style>
It references a parent style of “android:style/Widget.Holo.Light.ActionBarView_TabView” – which my project is unable to locate. I’m building against v3.2, with a min sdk of platform 8 (v2.2). I’m using ActionBarSherlock.
Am I doing something wrong, or is the sample code incorrect? What style can I inherit from?
The sample code was correct at the time and no longer is correct.
@Macarse has a blog post with the fix. Quoting Xav’s comment on the related issue: