LuxuryMode
LuxuryMode

Reputation: 33741

how do I change/set the size of text in spinner selection?

I want to change the size of the text that the spinner uses to display the selected item. In other words, I'm not concerned with changing the look/feel of anything when you are actually selecting, just the size of the text that's used once you've selected an item. Sorry if this is confusing, can't think of a clearer way to write it.

Upvotes: 2

Views: 1815

Answers (1)

Steve Prentice
Steve Prentice

Reputation: 23514

On your <Spinner>, define its style:

<Spinner
    style="@style/mySpinnerStyle"
    ... />

And then define that style and style it the way you want.

<style name="mySpinnerStyle" parent="@android:style/Widget.Spinner">
    <item name="android:textAppearance">@android:style/TextAppearance.Large</item>
</style>

Upvotes: 2

Related Questions