2

I want to make an integer edittext field where the user can use plus/minus buttons to increment and decrement the integer value in the edittext field. I would like it to be just like the DatePickerDialog where you can change the day, month, year using little up and down buttons. Is there a standard Android widget that I can use to achieve this interface -- or is it necessary to piece it together myself using two buttons and an edittext field?

Update: this is a minSDKVersion API 7 app.

Alan Moore
  • 6,525
  • 6
  • 55
  • 68

2 Answers2

2

Yes use this..

This seems to be exactly what you are looking for

Number picker demo

coder_For_Life22
  • 26,645
  • 20
  • 86
  • 118
2

Is that what you're looking for? number picker

San Francesco
  • 646
  • 9
  • 16