0

I need to do a dialog like DatePicker or TimePicker, but the dialogue should display my data. Is this possible, or do I need to do a custom view for this?

Jim Fell
  • 13,052
  • 32
  • 122
  • 196
Tiberal
  • 410
  • 2
  • 6
  • 16

1 Answers1

2

Sorry, but I can't comment because I don't have enough rep.

There isn't a ready out of the box dialog that allows custom data to be set. I supposed the best approach would be to create a custom layout with a NumberPicker and then set it as your dialog's view.

This answer should point you to right direction.

Community
  • 1
  • 1
Edson Menegatti
  • 3,858
  • 2
  • 23
  • 40