title: Android: How to use NumberPickerDialog
body: <p>Could someone give me an example of how to instantiate a NumberPickerDialog within Activity.onCreateDialog ?(<a href="https://github.com/novak/numberpicker/blob/master/lib/src/com/michaelnovakjr/numberpicker/NumberPickerDialog.java" rel="nofollow">https://github.com/novak/numberpicker/blob/master/lib/src/com/michaelnovakjr/numberpicker/NumberPickerDialog.java</a>) ?</p>
  
  <p>There are examples in a repo called numberpicker-demo for using the widget, but none for the actual dialog.</p>
  
  <p>Amongst other approaches I've tried tried something like:</p>
  
  <pre><code>return new NumberPickerDialog.Builder(this)
      .setTitle("Choose Number")
      .etc..
  </code></pre>
  
  <p>But this just shows a standard AlertDialog, without the NumberPicker.</p>
  
  <p>Thanks!</p>