Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you use custom Datepicker and Timepicker skins?

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?

like image 639
hermy Avatar asked Aug 06 '10 20:08

hermy


People also ask

What is the use of DatePicker view in Android?

Android provides controls for the user to pick a time or pick a date as ready-to-use dialogs. Each picker provides controls for selecting each part of the time (hour, minute, AM/PM) or date (month, day, year).


1 Answers

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....

like image 189
Bhavesh Hirpara Avatar answered Sep 30 '22 04:09

Bhavesh Hirpara