Spinner pop-up from ListView

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Spinner pop-up from ListView

Postby gilado74 » Thu Dec 10, 2009 1:16 pm

HI All,
I am having ListView with few 4 items.
Now, What I am trying to do is when clicking on certain item from list, a Spinner (Only the list of options) should pop-up.
But what I am getting is a new screen with the Spinner's widgets itself (the drop down item).
Just after clicking on the widget the Spinner pop-up with the wanted list.

Is it possible to separate the Spinner from the Spinner widgets itself (the drop down item)?

If you click on "Select date format" ("Setting" --> "Date & Time") you'll know exactly what I mean.[b]
Posts: 5
Joined: Tue Dec 08, 2009 11:34 am


Re: Spinner pop-up from ListView

Postby toko » Mon Dec 14, 2009 9:33 pm

I found it,
The list with radio-buttons that pop-up when clicking on a Spinner is actually AlertDialog.Builder object
see "Adding checkboxes and radio buttons" in the following link:
http://developer.android.com/guide/topi ... ingButtons
Posts: 6
Joined: Sun Dec 13, 2009 5:55 pm


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 4 guests