title: Android DatePickerDiaglogue showing a calendar view instead of that in the documentation
body: <p>I've managed to sucsessfully create a <code>DatePickerDialog()</code> but it is opening a calender while i was expecting something that looked more like the dialogue on the right of the following link;</p>
  
  <p><a href="https://i.stack.imgur.com/g1yVO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g1yVO.png" alt="https://developer.android.com/images/ui/pickers.png"></a></p>
  
  <p>im guessing i shouldn't be creating an instance of <code>DatePickerDialog()</code> but im not sure what i should be using instead. please assist.</p>
  
  <p>code is as follows;</p>
  
  <pre><code>private void dob() {
      Calendar c = Calendar.getInstance();
      int mYear = c.get(Calendar.YEAR);
      int mMonth = c.get(Calendar.MONTH);
      int mDay = c.get(Calendar.DAY_OF_MONTH);
      new DatePickerDialog(getContext(), new CustomDatePicker(), mYear, mMonth, mDay).show();
  }
  
  public class CustomDatePicker implements DatePickerDialog.OnDateSetListener{
  
      @Override
      public void onDateSet(DatePicker view, int year, int monthOfYear,
                            int dayOfMonth) {
          // TODO Auto-generated method stub
          // getCalender();
          int mYear = year;
          int mMonth = monthOfYear;
          int mDay = dayOfMonth;
          /*v.setText(new StringBuilder()
                  // Month is 0 based so add 1
                  .append(mMonth + 1).append("/").append(mDay).append("/")
                  .append(mYear).append(" "));*/
          //System.out.println(v.getText().toString());
  
  
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/1qnsR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1qnsR.png" alt="enter image description here"></a></p>