For some reason, I have two titles in my DatePickerDialog.
How can I get rid of the white title at the top? This is the code I use to create the Dialog:
datePickerDialog = new DatePickerDialog(ProfileActivity.this, this, year, month, day);
datePickerDialog.getDatePicker().setMinDate(System.currentTimeMillis());
datePickerDialog.setTitle("");
datePickerDialog.show();
your should add datePickerDialog.getDatePicker().setMinDate(System.currentTimeMillis()); and then add datePickerDialog.setTitle("");
this type of sequence to remove top white background header