21

Is there any tested and usable component we can use to show "Count selector" like this?
Our target is to get it working from API v7 .

enter image description here

(Taken from DatePickerDialog)

Marek Sebera
  • 39,650
  • 37
  • 158
  • 244
  • [NumberPicker Widget](http://stackoverflow.com/questions/3307213/android-having-numericupdown-button) will definitely help you, it looks the same as what you gave in image. – Nikunj Patel Oct 03 '11 at 09:52
  • Great, at least something. I found NumberPicker but in API since 11, so I cannot use it. This is more better! – Marek Sebera Oct 03 '11 at 09:52
  • I rephrased question to allow you to answer (or undelete your answers) – Marek Sebera Oct 05 '11 at 10:36
  • @hanry, nice example of a [link only answer](http://meta.stackexchange.com/questions/8231/are-answers-that-just-contain-links-elsewhere-really-good-answers) as a comment :) – TWiStErRob May 03 '15 at 11:19

2 Answers2

34

After some deep testing and using, this is a list of usable Picker widget libraries

When kindly omitted the solution in accepted answer, these widget libraries are very usable if you need alter the design, and you like the way iOS does the wheel slider picker.

Marek Sebera
  • 39,650
  • 37
  • 158
  • 244
2

I think this one is better:

https://github.com/SimonVT/android-numberpicker

it has the same look of android 4.2 number picker:

enter image description here

another alternative is using the HoloEverywhere library, which has plenty of native look&feel of android jelly bean

android developer
  • 114,585
  • 152
  • 739
  • 1,270
  • it works fine. and looks holo-like. the way it works is a bit buggy on old android versions, as you can actually select the number and even type in the keyboard. i've updated now my answer to have a screenshot. – android developer May 24 '13 at 20:47
  • Sorry I tested it ,and it just bad written and bad looks, any of the projects mentioned in Marek Sebera answer is so much better especially Android Wheel who also have a great documentation. – Ilya Gazman May 25 '13 at 17:02
  • ok, but it does look very similar to what android has. it's not far from how the native android wheel looks like. in fact, all of the links that are available here are not native at all. see, this is how android pickers look like: http://developer.android.com/design/building-blocks/pickers.html – android developer May 25 '13 at 19:41
  • There are many cases when using the native android is a bad choice. This is one of them. Android Wheel is much better suited then the native android wheel. – Ilya Gazman May 26 '13 at 06:36
  • how come? what can it do that others can't? if it's about how it looks, that's a matter of taste. – android developer May 26 '13 at 07:32
  • I think that all of them including the native doesn't limit you in things that you can do. You can do anything. It's just be more hard and less clear with the native one as it is bad written. – Ilya Gazman May 26 '13 at 08:03
  • well technically any open source project doesn't limit you in any way. but since i didn't read the code and didn't really test the library, i can't tell you anything. i can only say that in my opinion, a native look has a much better look than the rest that were offered here. – android developer May 26 '13 at 10:27
  • I hope you are a better developer then diplomat. I agree with your previous statement "that's a matter of taste". And as some one who tested both native and those open sources solutions, I can tell you that "Android Wheel" is the best of them. He offers you full documentation along with prebuild utilities and great sample. And the touch detection is working on entire screen unlike native that is bound to the wheel area only, the touch is better in "Android Wheel" and many other things too. – Ilya Gazman May 26 '13 at 10:46
  • again, if it fits your needs, use it. just remember that the less native and less good looks it has, the less chance it has to get features. – android developer May 26 '13 at 12:22
  • There is a great saying in Hebrew: "על טעם והריח אין מה להתווכח" meaning: Taste is not a subject for argument. About getting featured in android, show me where did you read that? Google giving us the framework, but they not always giving us the best code. See Android Wheel as a sample for that. – Ilya Gazman May 26 '13 at 12:35
  • Thanks guys, I however think this widget should be highlighted, so I added it to my accepted answer. – Marek Sebera Jun 18 '13 at 07:16
  • @Babibu yes i know of this saying (i know hebrew) . as i've written, use it if you want to use the native look and feel. – android developer Jun 18 '13 at 07:31
  • another alternative is holoeverywhere. you can try out their sample here: https://play.google.com/store/apps/details?id=org.holoeverywhere.demo – android developer Jun 23 '13 at 07:45