in iPhone date picker like this and here is the demo of date picker like iPhone in android
make date piker in android same as iPhone in android using wheel view
make date piker in android same as iPhone in android using wheel view
Download Source Code
good
ReplyDeletethanks
Excellent man.. Thanks for such a different look and feel..This
ReplyDeleteu r grt bro ,its very helpfull for me ,thanks a lot yaar
ReplyDeletei need to change the selected item color .Can you please help me how to achieve.
ReplyDeleteThanks,
Hi, i got one Big issue in this, when ever i select "February" month it is not displaying.
ReplyDeletePlease check i need this.
I just solved the problem you got... Just give maxDays like this,
ReplyDeletecalendar.set(Calendar.MONTH, month.getCurrentItem());
int YearChanging= 1900+ year.getCurrentItem();
switch(month.getCurrentItem()){
case 3:
case 5:
case 8:
case 10: maxDays= 30; break;
case 0:
case 2:
case 4:
case 6:
case 7:
case 9:
case 11: maxDays=31; break;
case 1:
if ((YearChanging % 400 == 0) || ((YearChanging % 4 == 0) && (YearChanging % 100 != 0))) {
maxDays =29 ;
} else {
maxDays = 28 ;
}
break;
}
This comment has been removed by the author.
ReplyDeleteI have an sample app that has four spinning wheels with date, hour, minute and am(or pm). and i got d values (hour, minutes & am(or pm)) but i have one problem of getting days value because in my case did not get proper position so, please
ReplyDeletecan anyone tell me, How can i get proper values from these wheels ?