0

I'm creating a appointment booking app in android studio. So while selecting time in time picker i want the time between 14:00pm and 16:00pm to be disabled ,similarly - the timing at night must be disabled. & While selecting Date , I want the previous dates to be disabled. is it possible?

Milind Mevada
  • 3,145
  • 1
  • 14
  • 22
Akash Nair
  • 27
  • 8

1 Answers1

0

You would have to use a custom TimePickerDialog in this case, same goes to the date as well if you would need that functionality too.

See this post - Custom TimePickerDialog or use this library - MaterialDateTimePicker with material design.

Oush
  • 3,090
  • 23
  • 22