I am looking to follow the material design guidelines on having a spinner like this:
And when clicked it should pupup a DatePickerDialog like this:
And finally when date chosen, get the chosen date inside the spinner like this:
I need help with how do I declare such a spinner in xml?