问题
I know how to work with single spinner. I'am populating one spinner with kilograms and other with grams. I have to open two spinners at a time (one beside other) on click of a button/view. User should be able to scroll through items of spinners individually and select kilograms & grams at one shot. How can i do it? Please help me.
回答1:
You probably want to use a custom View
for that. Have a look at this project. I use it in my current project, and it's excellent.
来源:https://stackoverflow.com/questions/13234231/how-to-open-two-spinners-at-a-time-in-android