I want to set the minimum date the user can choose in a DatePicker to the current date. I\'ve tried this:
DatePicker datePicker = (DatePicker) findViewById(R
If you don't want to use a custom dialog. Use this single line code:
datePickerDialog.getDatePicker().setMinDate(System.currentTimeMillis());