How do you use custom Datepicker and Timepicker skins?

hermy picture hermy · Aug 6, 2010 · Viewed 18.3k times · Source

I would like to use a custom skin for my Datepickers and Timepickers. Changing the background in XML doesn't do the trick (it changes the background to the set, not each of its buttons). The API is painfully short and has nothing about appearance ( http://developer.android.com/reference/android/widget/DatePicker.html ). Is it possible to use a custom skin for the buttons of Datepickers and Timepickers?

Answer

Bhavesh Hirpara picture Bhavesh Hirpara · Jan 7, 2012

ok, you are looking for custom theme for datepicker and time picker.. This will allow you to change theme of buttons..

https://github.com/luminousman/DatePicker

and in ICS style

https://github.com/luminousman/android-datepicker

hope this will help you....