首页 > 移动平台 > 详细

Disable keyboard input on Android TimePicker

时间:2014-06-04 19:59:15      阅读:369      评论:0      收藏:0      [点我收藏+]

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

Disable keyboard input on Android TimePicker,布布扣,bubuko.com

Disable keyboard input on Android TimePicker

原文:http://www.cnblogs.com/savagemorgan/p/3759504.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!