Using a Dialog to Display the TimePicker View (showDialog deprecated and removed)
Using a Dialog to Display the DatePicker View