Add layout/dialog_date.xml to define a date picker. In DatePickerFragment inflate the date picker and add it to alert dialog.