florent37 / SingleDateAndTimePicker

You can now select a date and a time with only one widget !
Apache License 2.0
1.02k stars 333 forks source link

Small touch area for days, year #324

Open PetrosCT opened 3 years ago

PetrosCT commented 3 years ago

Create a SingleDateAndTimePickerDialog like this:

new SingleDateAndTimePickerDialog.Builder(getActivity()) .bottomSheet() .displayMinutes(false) .displayHours(false) .displayDays(false) .displayMonth(true) .displayYears(true) .displayDaysOfMonth(true) .defaultDate(date)

You have to touch the days/years directly to perform the scroll, by touching next to the views results to the title being selected. device-2021-07-19-095353