Well, on android forums there are plenty of examples.
In general, you have to create and then use certain layout.
Put all stuff you want onto this layout based on the position index.
Return that layout.

On Oct 6, 5:05 pm, fhucho <[email protected]> wrote:
> Yes, I have to override getView() and getDropDownView(), but what
> should I do in getDropDownView(), in order to display a standard
> Spinner item with RadioButton, with the only difference that part of
> the text would have my custom color?
>
> On Oct 6, 10:51 pm, konic <[email protected]> wrote:
>
>
>
> > Mostly you have to derive from certain adapter and then override
> > getView() method there.
>
> > On Oct 6, 4:24 pm, fhucho <[email protected]> wrote:
>
> > > How can I create Spinner with customized items? Normally it is
> > > possible to have spinner items with text and checkboxes on the right,
> > > but I would like to have one part of the item's text black and the
> > > second part gray. I tried to create custom ArrayAdapter for the
> > > Spinner but I just can't figure out how to do it. I would be really
> > > gratefull if someone could help me with this.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to