Difference between focusable and focusableInTouchMode?

后端 未结 4 906
野性不改
野性不改 2020-12-07 15:50

I want to know the actual difference between them... When should each be used, how should each be used, and in which situations is each helpful?

Give some examples a

4条回答
  •  情书的邮戳
    2020-12-07 15:57

    Users can interact with their devices by using hardware keys or buttons, or by touching the screen. Touching the screen puts the device into touch mode. The user can then interact with it by touching the on-screen virtual buttons, images, etc.

    To check if the device is in touch mode, call the View class's isInTouchMode() method.

提交回复
热议问题