title: Customize android DatePicker to contain only month & year selection fields
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4122929/how-to-display-date-picker-for-android-with-only-month-and-year-fields">How to display date picker for android with only month and year fields?</a>  </p>
  </blockquote>
  
  
  
  <p>I face a problem to customize the Android <code>DatePicker</code> widget. That's if I defined an <code>DatePicker</code> in my Android app code:</p>
  
  <pre><code>DatePickerDialog datePickerDialog = new DatePickerDialog(...);
  datePickerDialog.show();
  </code></pre>
  
  <p>How can I make this <code>DatePicker</code> only show <strong>Month</strong> and <strong>Year</strong> selection fields without <strong>day</strong> selection field on device screen?</p>