How to display more than 3 values at a time in a NumberPicker

£可爱£侵袭症+ 提交于 2019-12-24 02:23:22

问题


I'm creating a number picker as indicated in the attached image below but I want to show more than 3 values if space is available. This picker has 20 items and there is plenty of room to show more than 3 values. Can this be accomplished using NumberPicker?


回答1:


just set Programatically numberPicker.setWheelItemCount(10);



来源:https://stackoverflow.com/questions/15776716/how-to-display-more-than-3-values-at-a-time-in-a-numberpicker

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