Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Number Picker Dialog [closed]

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?

like image 421
Kleptine Avatar asked Jul 29 '10 04:07

Kleptine


4 Answers

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

like image 153
Vitalii Korsakov Avatar answered Nov 13 '22 06:11

Vitalii Korsakov


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

like image 24
Krzysztof Wolny Avatar answered Nov 13 '22 06:11

Krzysztof Wolny


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

like image 3
jfcole Avatar answered Nov 13 '22 05:11

jfcole


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

like image 3
Saad Farooq Avatar answered Nov 13 '22 05:11

Saad Farooq