Can we display lollipop style DatePicker in kitkat Devices?
13,192
As more people switch to the Material design, it's good to have an answer as a reference.
First of all, the date picker DOES NOT come with the theme on pre-Lollipop devices
But good news are, you don't have to port the library yourself, others have done it already.
Check https://github.com/wdullaer/MaterialDateTimePicker or https://github.com/CiTuX/datetimepicker
Both libraries support android version 4.0 and up (API level 14). I've personally tried the 1st one and it works great.
Related videos on Youtube
Author by
Admin
Updated on September 17, 2022Comments
-
Admin over 1 year
I am trying to display lollipop style datepicker in 4.4.2 device can anybody give me some idea where to start or is it even possible?
-
manfcas about 8 yearsPlease note that "Material DatePicker" is not the same as "Lollipop DatePicker": in each Android release the pickers have a slightly different graphic style, so you must consider the exact style you want when you choose the library to integrate.