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,437
  • 6
  • 51
  • 67

2 Answers2

2

Yes use this..

This seems to be exactly what you are looking for

Number picker demo

coder_For_Life22
  • 25,901
  • 20
  • 83
  • 118
2

Is that what you're looking for? number picker

San Francesco
  • 636
  • 8
  • 16