0

I have a problem with alertDialog to manage a datepicker. the problem is simple: enter image description here

I don't want that u can click on the date (in this case just years) and change the value. i want just that u can select one of the years showed.

SOLVED:
solution:

myDatePicker.setDescendantFocusability(DatePicker.FOCUS_BLOCK_DESCENDANTS);

source:
Disable keyboard input on Android TimePicker

Community
  • 1
  • 1
Giovanni Far
  • 1,623
  • 6
  • 23
  • 37

0 Answers0