LazyDatePicker
This is an Android project to offer an alternative to the native Android Date Picker.
USAGE
To make a lazy date picker add LazyDatePicker in your layout XML and add LazyDatePicker library in your project or you can also grab it via Gradle:
XML
You must use the following properties in your XML to change your LazyDatePicker.
Properties:
app:ldp_text_color
(color) -> default BLACKapp:ldp_hint_color
(color) -> default GRAYapp:ldp_date_format
(mm-dd-yyyy or dd-mm-yyyy) -> default mm-dd-yyyy
KOTLIN
JAVA
OVERRIDE
You can override day, month & year if you want like this in your strings.xml
:
You can also change the design of the picker by changing the dimensions like this in your dimens.xml
: