An Android dialog that displays a date picker. Because it's an extension of the AlertDialog, it also supports buttons.
Questions tagged [datepickerdialog]
318 questions
-3
votes
1 answer
How the datepickerdialog date you choose remains after the activity ends
Sorry for the Google translator
What I want to implement is that the date that the user chooses is maintained even when the activity ends. So I hope the settings are retained when I rerun the activity.
I tried SharedPreferences, String succeeded but…

han won
- 3
- 2
-3
votes
1 answer
How to remove calender view from DatePickerDialog in android?
I need to remove Calender view from DatePickerDialog.
Code:
// Process to get Current Date
final Calendar c = Calendar.getInstance();
mYear = c.get(Calendar.YEAR);
mMonth = c.get(Calendar.MONTH);
mDay…

Shoeb Ahmed Siddique
- 377
- 11
- 25
-4
votes
2 answers
Android cancel DatePickerDialog when Touch Outside
andorid cancel DatePickerDialog when Touch Outside
the code follow is not work
datePickerDialog.setCanceledOnTouchOutside(true);
datePickerDialog.setCancelable(true);

Alvin
- 51
- 9