How to turn off keyboard icon at TimePicker?

后端 未结 5 1350
遥遥无期
遥遥无期 2021-01-07 00:56

I have a timepicker, everything works well but the problem is that I can\'t make it look like designer wants. For now it looks like this:

I need to hide this keybo

5条回答
  •  借酒劲吻你
    2021-01-07 01:47

    Try to use:

    timePicker.setDescendantFocusability(TimePicker.FOCUS_BLOCK_DESCENDANTS);
    

    You also can use android:descendantFocusability="blocksDescendants" in xml.

提交回复
热议问题