I want to get a date data from a form but only the date, not including the month nor the year. Can I use datepicker in the form but with the date only? If it's not possible, what the efficient way to get date information from a form ? Thanks
What you are looking for is a NumberPicker
, but it's only
available starting from API level 11.
Alternatively:
You can use an EditText
, with inputType="number"
, and do you
checking of being in the 1..31 range in code.
You can use a SeekBar
, and display the value next to it
dynamically.
You can use a Spinner
, and list the 31 possibilities.