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,250
  • 7
  • 51
  • 82

2 Answers2

1

Does this help?

Android Number Picker Dialog

Community
  • 1
  • 1
Matt
  • 3,779
  • 25
  • 28
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,907
  • 5
  • 38
  • 61