I’ve seen some answers to questions about how to specify a custom layout for a spinner’s pop-up list, but what I want to do is to customize the text on the Spinner control itself, such the “setText…” methods that you can call for a Button (TextView subclass).
Is there any way to do this? What I’m trying to do is to make my own Spinner design as I have for some of the other controls so it takes up less space and matches the general look of my app.
There is no text on the
Spinnercontrol itself.If you are referring to the
Viewthat is shown when aSpinneris closed (i.e., normal state), that is handled by yourSpinnerAdapter, either via the layout you provide in the constructor, or via your overriddengetView().