diff --git a/app/src/main/java/org/apache/fineract/ui/online/customers/createcustomer/FormCustomerDetailsFragment.java b/app/src/main/java/org/apache/fineract/ui/online/customers/createcustomer/FormCustomerDetailsFragment.java index 381ae3f..49d1181 100644 --- a/app/src/main/java/org/apache/fineract/ui/online/customers/createcustomer/FormCustomerDetailsFragment.java +++ b/app/src/main/java/org/apache/fineract/ui/online/customers/createcustomer/FormCustomerDetailsFragment.java @@ -162,7 +162,8 @@ public void showPreviousCustomerDetails() { @OnClick(R.id.et_date_of_birth) void onClickDateOfBirth() { - DatePickerDialog datePickerDialog = new DatePickerDialog(getActivity(), date, calendar + DatePickerDialog datePickerDialog = new DatePickerDialog(getActivity(), + R.style.MaterialDatePickerTheme, date, calendar .get(Calendar.YEAR), calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH)); datePickerDialog.getDatePicker().setMaxDate(System.currentTimeMillis()); diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index a7dfc4a..04553d5 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -59,4 +59,8 @@ @color/white + +