Touch Mode

When a user is navigating a user interface with directional keys or a trackball, it is necessary to give focus to actionable items (like buttons) so the user can see what will accept input. If the device has touch capabilities, however, and the user begins interacting with the interface by touching it, then it is no longer necessary to highlight items, or give focus to a particular View. Thus, there is a mode for interaction named "touch mode."

The touch mode state is maintained throughout the entire system (all windows and activities). To query the current state, you can call isInTouchModeQ to see whether the device is currently in touch mode.

0 0

Post a comment