Try the Compose way
Jetpack Compose is the recommended UI toolkit for Android. Learn how to use touch and input in Compose.
The following pages cover everything about user input, from basic touch input and gestures to keyboards and game controllers. You can add convenient features such as copy and paste and spell checking to your app. You can also develop your own text services to offer custom keyboards (Input Method Editors), dictionaries, and spell checkers that you can distribute to users as applications.
For more information, see Best practices for accessibility.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-05-11 UTC.