Customize Spinner

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


Sponsored Links
 Hi,
   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,
AJ

--



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





>



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

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

_The Busy Coder's Guide to Android Development_ Version 3.0
Available!

--



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

2) is there any sharedpreferences' equivalent possible with widgets

Thanks

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

2. ION kernel source

Hello,

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

Thanks in advance

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

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