Is there any way to disable writing inside a date picker using keyboard? As I just want the plus and minus signs to be used to set the date. thanks in advance.
myDatePicker.setDescendantFocusability(DatePicker.FOCUS_BLOCK_DESCENDANTS);
dp.setDescendantFocusability(DatePicker.FOCUS_BLOCK_DESCENDANTS);
is the best way to do so.
You can check this also
Focusable EditText inside ListView
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With