Material DateTime Picker tries to offer you the date and time pickers as shown in the Material Design spec, with an easy themable API. The library uses the code from the Android frameworks as a base and tweaked it to be as close as possible to Material Design example. (Android 4.0 was supported until 3.6.4). The easiest way to add the Material DateTime Picker library to your project is by adding it as a dependency to your build.gradle. You may also add the library as an Android Library to your project. All the library files live in library. The library also uses some Java 8 features, which Android Studio will need to transpile. The library follows the same API as other pickers in the Android framework. The library contains 2 layout versions for each picker. Version 1 is the original layout. It is based on the layout google used in the kitkat and early material design era. And version 2 is based on the guidelines google posted when launching android marshmallow.
Features
- Support for Android 4.1 and up
- The dialogs have a dark theme that can be set by calling
- This DatePickerDialog focuses on selecting dates
- The goal of this library is to implement the Material Design Date picker
- Use your custom logic to enable/disable dates
- The library also uses some Java 8 features