Top "Android-datepicker" questions

Android DatePicker is a widget for selecting a date.

Impossible to make my DatePickerDialog use a spinner style programmatically

I'm using a DialogFragment to open a DatePickerDialog public class DatePickerFragment extends DialogFragment{ @Override public Dialog onCreateDialog(Bundle savedInstanceState) { // Use …

android datepicker android-datepicker datepickerdialog
Set default Locale to DatePicker and TimePicker

I'm using a DatePicker and a TimePicker in a custom Dialog. The functionality works fine, but I have a problem …

android localization arabic android-datepicker android-timepicker
DatePickerDialog OK button not getting the selected date

I have a simple DatePickerDialog that opens when an EditText is opened. After choosing a date and pressing OK, it …

android dialog datepicker android-dialog android-datepicker
Validating "from date" and "to date" in android

I an application in which user has to choose two dates namely- from date and to date.Both the fields …

android validation android-datepicker
How to get the next date when click on button in android?

In my application i have a text view to set the current date and two buttons for next date and …

android android-datepicker
how do i compare current date with user input date from date picker

I am trying to keep constraint on date and time. I want that if user tries to set date less …

android date android-datepicker android-timepicker
How to set Android DatePicker mode to spinner for APIs below level 21

I want to display a DatePickerDialog with mode spinner instead of calendar. In my styles.xml, I tried to put …

android android-datepicker datepickerdialog
Material Date Picker Custom Styling

i have used range date picker from google material with this library implementation 'com.google.android.material:material:1.2.0-alpha02' …

android material-design android-datepicker material-components material-components-android
Can't get Android DatePickerDialog to switch to Spinner mode

I am building an app that uses a DatePickerDialog to allow the user to select their birthdate. Here's the code …

android android-alertdialog android-styles android-datepicker