actionBarTabStyle
attribute
should be with the base Application/Activity
theme , not under ActionBar
style
Create a custom theme like this
<style name="AppTheme" parent="Theme.Base.AppCompat">
<item name="android:actionBarStyle">@style/MyActionBar</item>
<item name="android:actionBarTabStyle">@style/MyActionBarTabView</item>
<item name="actionBarTabStyle">@style/MyActionBarTabView</item>
</style>
And, custom ActionBarTab
theme like this
<style name="MyActionBarTabView" parent="Widget.AppCompat.Base.ActionBar.TabView">
<item name="android:background">@drawable/action_bar_stacked_background</item>
</style>
Set the AppTheme
to whole Application
theme or for an Activity
. Let me know how it works.