title: How do I set default time to a specified hour with TimePicker dialog?
body: <p>I have a Fragment that launches a TimePicker dialog for the user to select a time of day.  I would like the default time of day that is shown when the dialog launches to be 4:00 PM.  The user can then select their own time thereafter.  I  have been trying setHour and setMinute but to no avail.</p>
  
  <p>Below is partial code for the TimePicker that sets to the current time of day.  Please advise on how to modify to always show 4:00 PM when TimePicker dialog first launches.  </p>
  
  <pre><code>...
  public Dialog onCreateDialog(Bundle savedInstanceState) {
      cal = Calendar.getInstance();
      hour = cal.get(Calendar.HOUR_OF_DAY);
      minute = cal.get(Calendar.MINUTE);
  
      TimePickerDialog dialog = new TimePickerDialog(getActivity(),this,hour,minute,
              dialog.setTitle("Select...");
  
      return dialog;
  }
  </code></pre>