Customize Spinner

by Ajay » Wed, 21 Apr 2010 18:47:55 GMT

Sponsored Links
   I want to customize the spinner behavior a little bit. I want to
add a couple of buttons at the end of the drop down menu that is
displayed when the user selects the control. Any idea how this could
be done?

Thank you,


Customize Spinner

by Tim » Wed, 21 Apr 2010 19:03:40 GMT


Clone the spinner code in your project, then modify it.

By the way, why is the drop-down widget called Spinner, and the
spinner widget called NumberPicker? Confusing!


Sponsored Links

Customize Spinner

by Ajay » Wed, 21 Apr 2010 20:36:10 GMT

 Is there a simpler way or standard widget that I could use?

Thank you,


Customize Spinner

by Mark Murphy » Wed, 21 Apr 2010 20:43:31 GMT


Write your own Dialog (or a Dialog-themed Activity) to look how you
want. Make a "Spinner" out of TextViews and ImageButtons. When they
click the ImageButton, display the Dialog or Activity for the user

Mark Murphy (a Commons Guy)  | 

_The Busy Coder's Guide to Android Development_ Version 3.0


Other Threads

1. sharedpreferences widget

I have a few questions on the default home screen's widget support:

1) if there are multiple instances of the same widget how to
differentiate each (so that the content could be different) eg. world
clock: same clock widget for different countries on diffferent

2) is there any sharedpreferences' equivalent possible with widgets



2. ION kernel source


Can anybody help me find the source for the ION kernel (HTC Dream)?
The config in it is quite different from the one on and
kernels built from there (android-msm-2.6.27 branch) do not boot on my

Thanks in advance


3. How to collect unhandled exception message in the app?

4. Recording mic audio during a call

5. Mic audio capture is of poor quality

6. Compress recorded audio

7. UbiFS SquashFS+lzma to Optimize Speed and save space