1 - touch mode下没有focus。
概念:
手触屏后,系统进入touch mode。
使用键盘或者trackball后,系统退出touch mode。
原因:
可以考虑一个具体例子:
The user can freely navigate through the list using the trackball but also, alternatively, scroll and fling the list using the touch screen. The issue in this scenario is how to handle the selection properly when the user manipulates the list through the touch screen.
In this case, if the user selects an item at the top of the list and then flings the list towards the bottom, what should happen to the selection? Should it remain on the item and scroll off the screen? What should happen if the user then decided to move the selection with the trackball? Or worse, what should happen if the user presses the trackball to act upon the currently selected item, which is not shown on screen anymore?
2 - Focusable in Touch Mode
EditText是一个在touch mode下可以获得focus的一个组件。
原因:
The focusable mode is what lets the user enter text inside a text field on the screen, without first selecting it with the trackball or their finger.
Ref:https://docs.huihoo.com/android/3.0/resources/articles/touch-mode.html