Blank option in Spinner

by julius » Tue, 03 Mar 2009 10:43:40 GMT


Sponsored Links
 Hi,

I have a spinner which I would like to add a blank option to so that
by default no choice is selected. I've looked around and in the
Spinner class, but I can't see how to do this. I am just wondering if
there is a method already for doing this.

Thanks for any ideas.

Julius.
--~--~---------~--~----~------------~-------~--~----~



Blank option in Spinner

by Will » Sat, 07 Mar 2009 07:29:42 GMT


 If you're populating your Spinner with a string array I would just
make one item in the array a blank string.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Properly Disconnecting the "Network" on the Emulator

Hi,
I'm working on making an app robust in the face of network
disconnection.

When I test a socket application on the emulator, and disconnect using
the Data setting on DDMS, the socket connection does not get cut.
Instead, it hangs.

Strangely enough, it seems that DDMS and logcat also get hung.

When testing on WiFi, and I disconnect using the Settings app, I get
an IOException immediately.

Any tips? Thanks.
--~--~---------~--~----~------------~-------~--~----~

2. where is the correct place to put libopencorehw?

2009/10/12 liang ming-chuan <lmc83...@gmail.com>:
[...]

Placing under directory hardware is better since it is meant by HAL.

Here is another sample:
    
http://gitorious.org/0xdroid/hardware_omap3_libopencorehw/trees/beagle-cupcake

It builds and works on TI OMAP3 platform.

Sincerely,
Jim Huang (jserv)
http://0xlab.org/

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Auto Text seperti di bb

4. should the values in R.java be unique?

5. R.java files

6. How to connect a context menu to a spinner popup?

7. Salam Kenal dan Nanya Prog Alkitab