Remove toolbar button padding Android -
i'm trying fit more button toolbar removing padding on button didn't find way that.
i'm trying remove padding in red.
i tried adding manifest
<item name="android:actionbuttonstyle">@style/actionbuttonstyle</item>
and styles.xml
<style name="actionbuttonstyle" parent="@android:style/widget.holo.light.actionbutton"> <item name="android:minwidth">0dip</item> <item name="android:paddingleft">0dip</item> <item name="android:paddingright">0dip</item> </style>
but didn't work. there other solution?
in default action bar cannot reduce padding. create custom toolbar , keep padding 0dp
Comments
Post a Comment