What is the default text padding in spinner
android
Solution
One thing that you could find in Android Styles is,
<style name="Widget.Holo.TextView.SpinnerItem" parent="Widget.TextView.SpinnerItem">
<item name="android:textAppearance">@style/TextAppearance.Holo.Widget.TextView.SpinnerItem</item>
<item name="android:paddingStart">8dp</item>
<item name="android:paddingEnd">8dp</item>
</style>
It shows padding is `8dp` each on `start` and `end`.
Note: If 8dp look lesser to you, may be you should also look for padding on spinner itself. Like `Padding of Spinner item + Padinng of text = What you want`.
Hope it works for you.
Problem
I have a spinner and a textview with style like spinner. I want to align the text in both, but I do not know how much padding the text in the spinner has.