to top

Best Practices for User Input

These classes cover various subjects of user input, such as touch screen gestures and text input through on-screen input methods and hardware keyboards.

  1. Using Touch Gestures

    How to write apps that allow users to interact with the touch screen via touch gestures.

    1. Detecting Common Gestures
    2. Tracking Movement
    3. Animating a Scroll Gesture
    4. Handling Multi-Touch Gestures
    5. Dragging and Scaling
    6. Managing Touch Events in a ViewGroup
  2. Handling Keyboard Input

    How to specify the appearance and behaviors of soft input methods (such as on-screen keyboards) and how to optimize the experience with hardware keyboards.

    1. Specifying the Input Method Type
    2. Handling Input Method Visibility
    3. Supporting Keyboard Navigation
    4. Handling Keyboard Actions