Select date and time in one view

I wanted to know if we can implement both the date and the timer in one view ...

In our application for iPhone, you can select the date and time through one view. But on Android, we have a date picker and a timer that is used separately. Is there any way I can get date and time values ​​from a single view?

+4
source share
1 answer

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

+2
source

Source: https://habr.com/ru/post/1306011/


All Articles