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!

--