0

I am curious to know if there is a way to be able to use a combined date and time picker in android webview app?

I have a HTML 5 input of type datetime-local in my form with PHP (CouchCMS) backend:

<input name="indate" type="datetime-local" />

Now when I use the form in the android webview app, it shows me a spinner view dialog for selecting the date and time.

Datetime spinner

But I want to have something like in the image below:

Datetime Picker Dialog together

I would want to be able to click on the datetime-local input field and open the datepicker first and once the date is selected I would want to open the timepicker. Once both the date and time are selected the same should be reflected back to the input field.

Can someone please help me with the same. The only code is the input field written in HTML5 (as above). I would want to be able to override the default spinner (image #1) with something like the picker dialog (image #2).

Thanks and Regards!

0 Answers0