android - customizing the action bar sherlock -
i have implemented action bar sherlock customized style shown below
<resources> <style name="mytheme" parent="theme.sherlock"> <item name= "actionbarstyle">@style/actionstyle</item> <item name="actionbartabtextstyle">@style/mytabtextstyle</item> <item name="android:actionbartabtextstyle">@style/mytabtextstyle</item> </style> <style name= "actionstyle" parent="widget.sherlock.actionbar"> <item name="android:background">#ff000000</item> <item name="background">#ff000000</item> </style> <style name="mytabtextstyle" parent="widget.sherlock.actionbar.tabtext" > <item name="android:textcolor">#0ebfe9</item> <item name = "android:showdividers">none</item> <item name ="android:textstyle">bold</item> <item name = "android:divider">#000000</item> </style> </resources>
even setting background black action bar shows bluish divider between action bar , navigation tab. have specified show dividers none navigation contains divider between tab.
you need inherit parent theme tabbar, not tabtext:
widget.sherlock.actionbar.tabbar
this way:
<style name="theme.mactionbartabbar" parent="widget.sherlock.actionbar.tabbar"> <item name="android:showdividers">none</item> </style>
android
No comments:
Post a Comment