android - How can I remove divider before actionbar menuItem which only have text on it? -
i want remove short divider before actionbar's menuitem
has "withtext" option in it.
i've tried many different theme setting it, failed.
is there solution remove it?
this theme xml.
<style name="my_actionbar" parent="@style/widget.sherlock.light.actionbar.solid"> <item name="android:background">@drawable/actionbar_bg</item> <item name="background">@drawable/actionbar_bg</item> <item name="android:actionbardivider">@null</item> <item name="actionbardivider">@null</item> <item name="android:showdividers">none</item> <item name="android:dividervertical">@null</item> <item name="android:dividerpadding">0dp</item> <item name="android:divider">@null</item> </style>
the android:actionbardivider
attribute belongs theme, not action bar style. can remove divider this:
<style name="apptheme" parent="theme.sherlock"> <item name="actionbardivider">@null</item> <item name="android:actionbardivider">@null</item> </style>
Comments
Post a Comment