At 07:52 AM 1/25/2012, you wrote:
Since you mentioned 4.0.3 and api level 15...

With Holo themes, spinners are no longer popup dialogs - they are dropdown lists, sošthere is no title.š

Adding a text label to the layout somewhere near the spinner should work.

yes, but that would take up more real estate.

i ended up adding a prompt string as the first element in the list model when i made the array adapter. and then removed it when the user made a choice that was not the prompt.

is this a sane thing to do?

or is there a better way? maybe change adapters when the user makes a choice that was not the prompt?

thanks


25 ÑÎ×ÁÒÑ 2012šÇ. 8:20 ÐÏÌØÚÏ×ÁÔÅÌØ Ray Tayek <<mailto:[email protected]>[email protected]> ÎÁÐÉÓÁÌ:
At 07:07 PM 1/24/2012, you wrote:
At 02:21 AM 1/23/2012, you wrote:
At 07:29 PM 1/21/2012, Ray Tayek wrote:
hi, newbie here. ...
running the spinner example shows earth. the prompt is not visible .... also, the spinner prompts in my project are not visible...


found šclue: <http://groups.google.com/group/android-developers/browse_thread/thread/d93ce1ef583a2a29>http://groups.google.com/group/android-developers/browse_thread/thread/d93ce1ef583a2a29


more clues: more clues: <http://stackoverflow.com/questions/867518/how-to-make-an-android-spinner-with-initial-text-select-one>http://stackoverflow.com/questions/867518/how-to-make-an-android-spinner-with-initial-text-select-one

has anyone seen a prompt in a spinner in without some special code using 4.0.3 spi level 15?


thanks



---
co-chair <http://ocjug.org/>http://ocjug.org/

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to <mailto:[email protected]>[email protected]
To unsubscribe from this group, send email to
<mailto:android-developers%[email protected]>[email protected]
For more options, visit this group at
<http://groups.google.com/group/android-developers?hl=en>http://groups.google.com/group/android-developers?hl=en


--
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>http://groups.google.com/group/android-developers?hl=en

---
co-chair http://ocjug.org/

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