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
  • 12,390
  • 29
  • 117
  • 192
Tiberal
  • 380
  • 2
  • 4
  • 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,678
  • 2
  • 21
  • 39