The look of a Spinner is just defined through a framework style, and
you can override that style in your XML.  In this case, the "look" of
a spinner is provided by its android:background, which is defined
here:

http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/drawable/btn_dropdown.xml;hb=cupcake

You could specify your own android:background, even copying the
existing EditText:

http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/drawable/edit_text.xml;hb=cupcake

Since the EditText resources aren't exposed in the public API, you'd
have to copy those assets into your local project.

j


On Tue, Aug 11, 2009 at 1:52 PM, phildo<[email protected]> wrote:
>
> Ok so I spent quite a bit of time trying to find posts online about
> how to make a spinner look like an EditText.  Basically, I want ALL
> the functionality of a spinner but I don't want that ugly down arrow
> that comes with the spinner.  I'm perfectly capable of writing an
> EditText that opens a selectable list on click but theres got to be an
> easier way to just change how the spinner looks.  Is there a way to do
> this in styles?  or themes?  or something?
>
> Thanks!
>
> >
>



-- 
Jeff Sharkey
[email protected]

--~--~---------~--~----~------------~-------~--~----~
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