Google

Friday, July 9, 2010

Spinners


1. Listener for the Spinner's item state change event



2. The main Activity.


3. The UI in XML


4. Output of spinner (drop-down list)


5. Selection is displayed in TextView (top) and Toast (below).
A toast is a message box.