try to use:

myTimePicker.setDescendantFocusability(TimePicker.FOCUS_BLOCK_DESCENDANTS);

to disable focus on the text views of the internal NumberPickers

This also works for DatePicker, just use DatePicker.FOCUS_BLOCK_DESCENDANTS instead. –  swanson Feb 20 '12 at 17:31
 
http://stackoverflow.com/questions/2391216/disable-keyboard-input-on-android-timepicker

相关文章:

  • 2022-01-01
  • 2021-12-07
  • 2022-03-08
  • 2021-10-27
  • 2022-12-23
  • 2021-11-27
猜你喜欢
  • 2022-12-23
  • 2022-01-28
  • 2022-12-23
  • 2021-12-31
  • 2022-03-03
  • 2022-12-23
相关资源
相似解决方案