我正在尝试为我的ActionBar使用ActionBarSherlock库实现样式化选项卡。以下是我的代码:
<style name="Theme.AndroidDevelopers" parent="Theme.Sherlock.Light.ForceOverflow">
<item name="actionBarTabStyle">@style/CustomActionBarStyle</item>
<item name="android:actionBarTabStyle">@style/CustomActionBarStyle</item>
<style name="CustomActionBarStyle" parent="Widget.Sherlock.Light.ActionBar.TabBar">
<item name="android:background">@drawable/actionbar_tab_bg</item>
</style>
在第二和第三行中,如果我将actionBarTabStyle更改为actionBarStyle,则我的操作栏本身会更改为我想要的样式(当然不是非常好),因此连接确实有效。但是,尝试更改操作栏选项卡(在其下面),仍然没有成功。
我希望有人能帮助我。
敬礼
style
标签的开闭吗? - Benoit Duffez