I'm trying to implement design, that my designer had made for me.
I can't move compoundDrawable closer to text (setting padding attribute can move it far away, but even 0dp doesn't make it close) and I can't make constant width with spacing between tabs.
Here's what I get (don't look at fonts, text colors, underscore size, currently in development):
But I've met troubles with customizing Jake's Wharton library
Here is almost same question: Space between elements of the indicator
<style name="SkillsPageIndicator" parent="Widget.TabPageIndicator">
<item name="android:background">@drawable/tab_underline_indicator</item>
<item name="android:textSize">@dimen/text_size_medium</item>
<item name="android:paddingTop">35dp</item>
<item name="android:paddingBottom">16dp</item>
<item name="android:drawablePadding">0dp</item>
<item name="android:gravity">center</item>
<item name="android:width">100dp</item>
</style>