Date Picker in Android

195 views.

In Android, DatePicker is a widget used to select a date. It allows to select date by day, month and year in your custom UI (user interface). If we need to show this view as a dialog then we have to use a DatePickerDialog class. For selecting time Android also provides timepicker to select time.

activity_mani.xml

MainActivity.Java

 

You may also like...

Leave a Reply