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?
Asked
Active
Viewed 105 times
0
-
Have you tried anything, any sample code or something like that? – Remees M Syde Sep 14 '18 at 10:43
1 Answers
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