问题
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