page.title=Handling Keyboard Input page.tags=edittext,accessibility trainingnavtop=true startpage=true @jd:body
The Android system shows an on-screen keyboard—known as a soft input method—when a text field in your UI receives focus. To provide the best user experience, you can specify characteristics about the type of input you expect (such as whether it's a phone number or email address) and how the input method should behave (such as whether it performs auto-correct for spelling mistakes).
In addition to the on-screen input methods, Android also supports hardware keyboards, so it's important that your app optimize its user experience for interaction that might occur through an attached keyboard.
These topics and more are discussed in the following lessons.