1 page.title=Handling Keyboard Input 2 page.tags=edittext,accessibility 3 4 trainingnavtop=true 5 startpage=true 6 7 @jd:body 8 9 <div id="tb-wrapper"> 10 <div id="tb"> 11 12 <!-- Required platform, tools, add-ons, devices, knowledge, etc. --> 13 <h2>Dependencies and prerequisites</h2> 14 <ul> 15 <li>Android 1.6 (API Level 3) or higher</li> 16 </ul> 17 18 </div> 19 </div> 20 21 <p>The Android system shows an on-screen keyboard—known as a 22 <em>soft input method</em>—when a text field in your UI receives focus. 23 To provide the best user experience, you can specify characteristics 24 about the type of input you expect (such as 25 whether it's a phone number or email address) and how the input method should behave (such as 26 whether it performs auto-correct for spelling mistakes).</p> 27 28 <p>In addition to the on-screen input methods, Android also supports hardware keyboards, so it's 29 important that your app optimize its user experience for interaction that might occur 30 through an attached keyboard.</p> 31 32 <p>These topics and more are discussed in the following lessons.</p> 33 34 35 <h2>Lessons</h2> 36 37 <dl> 38 <dt><b><a href="style.html">Specifying the Input Method Type</a></b></dt> 39 <dd>Learn how to show certain soft input methods, such as those designed for phone numbers, web 40 addresses, or other formats. Also learn how to specify characteristics such 41 as spelling suggestion behavior and action buttons such as <b>Done</b> or <b>Next</b>. 42 </dd> 43 <dt><b><a href="visibility.html">Handling Input Method Visibility</a></b></dt> 44 <dd>Learn how to specify when to show the soft input method and how 45 your layout should adjust to the reduced screen space. 46 </dd> 47 <dt><b><a href="navigation.html">Supporting Keyboard Navigation</a></b></dt> 48 <dd>Learn how to verify that users can navigate your app using a keyboard 49 and how to make any necessary changes to the navigation order. 50 </dd> 51 <dt><b><a href="commands.html">Handling Keyboard Actions</a></b></dt> 52 <dd>Learn how to respond directly to keyboard input for user actions. 53 </dd> 54 55 </dl> 56