Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Fix-270: Calendar fixed in FormIdentificationDetailsFragment #138

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@
import android.app.DatePickerDialog;
import android.content.Context;
import android.os.Bundle;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.google.android.material.textfield.TextInputLayout;

import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher;
Expand Down Expand Up @@ -144,7 +147,7 @@ public void editIdentificationCardDetails(Identification identification) {

@OnClick(R.id.et_expiration_date)
void onClickDateOfBirth() {
new DatePickerDialog(getActivity(), date, calendar
new DatePickerDialog(getActivity(), R.style.MaterialDatePickerTheme, date, calendar
.get(Calendar.YEAR), calendar.get(Calendar.MONTH),
calendar.get(Calendar.DAY_OF_MONTH)).show();
}
Expand Down