【发布时间】:2013-10-16 10:42:08
【问题描述】:
我在 SO.. 但没有找到任何可行的解决方案。我想更改标签栏底部的默认蓝色。我可以更改标签栏的颜色选项卡但无法更改底部的蓝色。我知道它使用的是默认的 9 个补丁图像。但是如何使用自定义样式主题更改它?
这是我的部分 xml..我正在为我的选项卡视图进行更改..
<style name="MyTheme" parent="@style/Theme.Sherlock.Light">
<item name="android:actionBarTabBarStyle">@style/Theme.app.tabbar.style</item>
<item name="actionBarTabBarStyle">@style/Widget.app.ActionBar.TabBar</item>
</style>
<style name="Theme.app.tabbar.style" parent="@style/Theme.Sherlock.Light">
<item name="android:background">#80aa01</item>
<item name="background">#80aa01</item>
<style name="Widget.app.ActionBar.TabBar" parent="Widget.Sherlock.ActionBar.TabBar">
<item name="android:background">#80aa01</item>
<item name="background">#80aa01</item>
代码运行良好。但我想更改默认的蓝色底边框。请提供解决方案!
【问题讨论】:
标签: android actionbarsherlock tabview