In my project I have used Datepicker widget in the layout as follows, As I need only spinner and I have disabled calendar view for my Datepicker for lollipop version
<DatePicker
android:id="@+id/datePickr"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:theme="@android:style/Widget.DatePicker"
android:calendarViewShown="false"
android:datePickerMode="spinner"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true" />
The problem I faced is that it shows different color for datepicker text in lollipop version. I could not able to change the color of the same.
What I need is to change the color of the datepicker text such that It shows same color in different version.