Easily Add Google Keep-Like Picker with ReminderDatePicker Library
For some time, Google has placed a relatively heavy emphasis on design. This trend is resoundingly obvious in their minimalist homepage, as well as in the recently updated Android L Developer Preview. Design trends and guidelines, however, do not remain stagnant, but rather evolve and change every few years or so. New components, foundations, patterns and, even languages are constantly being released. And in keeping with the trend of change, Google does its fair share of design innovation. Although this became even more evident with the introduction of Material Design, various Google UI patterns have been emerging and establishing themselves.
One such pattern is the date and time picker introduced in Google Keep and later carried over other apps such as Google Now. This picker, in order to simplify the user experience, replaces times and dates with more natural terms such as “in one hour” or “tomorrow.” However, unlike the Google I/O app which is open sourced every year, Google Keep is closed source. How then, does one go about including this picker in one’s own app? Worry not, for XDA Senior Member SimplicityApks has the solution in the form of the ReminderDatePicker library. Besides being relatively easy to implement, the library manages to replicate the Google Keep experience perfectly. And since it’s open source under the Apache license, you are free to include this in your app in progress.
Head over to the ReminderDatePicker library thread to get started with implementing it in your own app, or if you want to go through the source code.