How to open two spinners at a time in android?

两盒软妹~` 提交于 2020-01-16 18:23:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!