Hello, I'm trying to make a datepicker part of the activity layout as shown below:
I've been looking for the internet, but all the examples I'm talking about datePickerDialog, and that's not what I wanted. Any solution? Thanks!
The DatePicker can be used as a view normal in any layout .
In order to be presented as it is in the question image, you must use the datePickerMode
and calendarViewShown
attributes with the following values:
android:datePickerMode="spinner"
android:calendarViewShown="false"