title: TimePickerFragment Not Working
body: <p>According to the official Android Dev <a href="https://developer.android.com/guide/topics/ui/controls/pickers.html" rel="nofollow">guide</a>, when the user clicks this button, the system calls the following method:</p>
  
  <pre><code>public void showTimePickerDialog(View v) {
      DialogFragment newFragment = new TimePickerFragment();
      newFragment.show(getSupportFragmentManager(), "timePicker");
  }
  </code></pre>
  
  <p>However, when I try this in my Fragment Activity, it shows <code>TimePickerFragment</code> in red. And prompts that <code>TimePickerFragment()</code> cannot be resolved.</p>
  
  <p>These are my imports related to TimePicker : </p>
  
  <pre><code>import android.app.AlarmManager;
  import android.app.DatePickerDialog;
  import android.app.DatePickerDialog.OnDateSetListener;
  import android.app.Dialog;
  import android.app.DialogFragment;
  import android.support.v4.app.FragmentActivity;
  import android.view.View.OnClickListener;
  import android.widget.DatePicker;
  import android.widget.TimePicker;
  import android.app.TimePickerDialog;
  </code></pre>
  
  <p>When I try this for <code>DatePicker</code>, the <code>DatePickerFragment</code> works.</p>