How can I make the icons of the actionbar using ActionBarSherlock closer or further away from each other? Something like android:layout_marginLeft
or android:paddingRight
?
If I just add the icons on the actionbar they are further away compare to the screenshot of Soundhound below:
my themes.xml
:
<style name="Theme.AstraTheme_Purple" parent="@style/Theme.Sherlock">
<item name="actionBarStyle">@style/Widget.AstraTheme_Purple.ActionBar</item>
<item name="android:actionBarStyle">@style/Widget.AstraTheme_Purple.ActionBar</item>
<item name="actionButtonStyle">@style/Widget.AstraTheme_Purple.ActionButton</item>
<item name="android:actionButtonStyle">@style/Widget.AstraTheme_Purple.ActionButton</item>
</style>
<style name="Widget.AstraTheme_Purple.ActionBar" parent="Widget.Sherlock.ActionBar">
<item name="android:background">@drawable/purple_bar</item>
<item name="background">@drawable/purple_bar</item>
</style>
<style name="Widget.AstraTheme_Purple.ActionButton" parent="Widget.Sherlock.ActionButton">
<item name="android:minWidth">50dip</item>
</style>