Android DatePicker/Dialog displaying incorrect month/s using min/max date
问题 I'm using the DatePickerDialog and the DatePicker to set a specific range. datePicker.setMinDate(minDate); datePicker.setMaxDate(maxDate); If my min/max - dates are in the range of one month (eg.: 7.2.2014 - 27.2.2014), i still get the neighbour months displayed in the dialog (Jan, Mar). If i choose the last month (Jan), the dialog automatically swaps to the minDate and the month switches back to Feb. Same thing for the future month. Is there a way to fix this, so that i only get the months