2

I need to create a Bi-directional spinner in Android . Providing the following sample:

enter image description here

Can anyone provide any inputs ?

Thanks in Advance.

Alex Deen
  • 25
  • 3
chiranjib
  • 5,288
  • 8
  • 53
  • 82

2 Answers2

1

Does this help?

Android Number Picker Dialog

Community
  • 1
  • 1
Matt
  • 3,837
  • 26
  • 29
0

I'd agree with @Matt that a number picker is probably the best way. I wouldn't try and exactly duplicate the look of a windows form, as on a touch screen those up/down arrows are going to be very small.

If you really want the up/down functionality and are planning on using much larger buttons then you just need a couple of onClickListeners, one to increment the value and one to decrement.

dave.c
  • 10,910
  • 5
  • 39
  • 62