I found solutions for how to set max and min time in time picker dialog. But, I am searching a solution for time picker widget in android(time picker declared in xml). Thanks in Advance.
Asked
Active
Viewed 806 times
0
-
you want to do that in xml?? – Charuක Jan 03 '17 at 03:16
-
@Charuka yes I want to do in xml. – varatharajan Jan 03 '17 at 03:18
-
I don't think there is a direct way using xml – Charuක Jan 03 '17 at 03:32
-
@Charuka okay. thanks for your kind response – varatharajan Jan 03 '17 at 03:35
-
Hey but if you want you can create your own class extends DatePickerDialog and do that :) – Charuක Jan 03 '17 at 03:43
-
@Charuka okay thank you. I will try with number picker. – varatharajan Jan 03 '17 at 03:46
-
refer http://stackoverflow.com/questions/13516389/android-timepickerdialog-set-max-time – sasikumar Jan 03 '17 at 03:56
-
See this stackoverflow link [stackoverflow](http://stackoverflow.com/questions/13516389/android-timepickerdialog-set-max-time) – Rudresh Jan 03 '17 at 04:18