0

What's the name of the components that DatePicker and TimePicker are composed from? (a field with arrows that change its value - have a look at the picture below). Is something like this already accessible (I cannot find it in the list of components in the GUI designer), or do I have to create my own version?

enter image description here

antoniom
  • 3,143
  • 1
  • 37
  • 53
rmaruszewski
  • 2,407
  • 1
  • 21
  • 21

1 Answers1

1

Unfortunately you have to create your own version.. There is NumberPicker but is only available from API version 11 but I don't know how you could add the months there in format MMM...

You can simply do a custom component composed of a edit text and two buttons, a button on top and one at the bottom of the edit text.. also I think you can find the + and - buttons under android resources from your android SDK installation.

I hope it helps.

Cata
  • 11,133
  • 11
  • 65
  • 86