I used the action bar support library and have to adjust Padding between ActionBar's menu items icon. Please help.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You have to override the style of the action bar. You can change as your requirement.
<style name="CustomActionBarTheme"
parent="@android:style/Theme.Holo.Light.DarkActionBar">
<item name="android:actionBarTabTextStyle">@style/TabTextStyle</item>
<item name="actionBarTabTextStyle">@style/TabTextStyle</item>
<item name="android:scrollHorizontally">false</item>
<item name="android:paddingLeft">0dp</item>
<item name="android:paddingRight">0dp</item>
</style>