views:

258

answers:

1

Hi guys,

I wanted to know whether we can implement both date and time picker in one view...

In iphone app you can pick both date and time through one view. But in android we have date picker and time picker seperately. So, is there any method by which i can get values of both date and time from one view???

+1  A: 

There is no built in widget that implements both a date and time picker. However, you can create your own custom view for that, perhaps combining the existing DatePicker and TimePicker.

CommonsWare
Can u plz elaborate how to create a custom view. It will be helpful if you can provide an example also.
Rahul Varma