title: How to disable certain dates in the Android Date Picker dialog?
body: <p>I am using default Android <code>DatePickerDialog</code> which contains <code>android.widget.DatePicker</code>.</p>
  
  <p>Does anybody know how to disable or make certain dates unselectable?</p>
  
  <p>I know <code>DatePicker</code> allows to <code>setMinDate()</code> and <code>setMaxDate()</code> but it doesn't allow to disable specific dates in the middle.</p>
  
  <p>e.g. on this picture  would like to disable date 18, 26, etc:</p>
  
  <p><a href="https://i.stack.imgur.com/BUiO0.png" rel="noreferrer"><img src="https://i.stack.imgur.com/BUiO0.png" alt="enter image description here"></a></p>