I am using a DatePicker in a Dialog box to allow the user to chose a date. But I just want them to chose a month and a day. Is there any way I can make the year not show up?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t see any way to do so in the Javadocs. You could create your own using NumberPicker (which unfortunately is not in an externally available API, but the sourcecode is readily available). See http://www.quietlycoding.com/?p=5 for more information.