所以我試圖使用ActionBarSherlock庫實現我的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」的開始和結束標記? – 2012-04-24 21:20:05