36

Does anyone have any dialogs that will allow a user to pick a number within a certain range? It seems like this would be a fairly common need, but I can't find a common dialog for it and I'd rather not have to spend the time creating my own.

Any help?

Kleptine
  • 5,101
  • 15
  • 56
  • 79

5 Answers5

33

I know that more than two years passed but answer is still actual and I find some nice Number Pickers. Here is one of them https://github.com/SimonVT/android-numberpicker

enter image description here

Vitalii Korsakov
  • 42,460
  • 19
  • 70
  • 88
11

It's available in SDK since API 11 - http://developer.android.com/reference/android/widget/NumberPicker.html

Krzysztof Wolny
  • 9,700
  • 4
  • 35
  • 45
3

A bit late but for any that are interested, http://code.google.com/p/android-wheel/ is a good implementation.

Saad Farooq
  • 12,941
  • 9
  • 66
  • 94
3

I've just released some code that does just what you want. Check out my custom control, NumberPicker, which can be seen here: http://www.technologichron.net/?p=42

jfcole
  • 49
  • 2