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,089
  • 16
  • 58
  • 81

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
  • 45,737
  • 20
  • 72
  • 90
11

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

Krzysztof Wolny
  • 10,576
  • 4
  • 34
  • 46
3

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

Saad Farooq
  • 13,172
  • 10
  • 68
  • 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