google / android-fhir

The Android FHIR SDK is a set of Kotlin libraries for building offline-capable, mobile-first healthcare applications using the HL7® FHIR® standard on Android.
https://google.github.io/android-fhir/
Apache License 2.0
463 stars 241 forks source link

Date picker: Add a different date picker with “spinners” #1805

Open shelaghm opened 1 year ago

shelaghm commented 1 year ago

Problem: The current date picker has poor usability, especially for dates far in the past like date of birth. The main challenge is selecting a date and month using the calendar entry method. Typing the date with the keyboard is challenging due to missing / and adhering to the date format.

Solution: @joiskash suggested using a Android legacy date picker that has "spinners" that users can swipe to get to the date, month and year.

Caveats: We would benefit from learning more about why Android is no longer supporting this type of date picker. It might have to do with that it is not very accessible to people using various accessibility features.

Alternatives:

1802 #1803

Priority: Low priority due to the other high priority date picker fixes listed above. Including this feature request so it's documented.

Design mocks:

Screenshot 2023-01-11 at 14 11 37
shelaghm commented 1 year ago

Feedback from @henryrae "this type of date picker is found to be easy to use than the one used (current material design date picker) in the designs."

Shelagh note: Now two different developer teams that have requested this type of a date picker, as the material design date picker that is currently implemented is challenging to use for dates. I think it's worth increasing the priority of this issue or building out https://github.com/google/android-fhir/issues/1803