Android Soft keyboard action button
问题 My layout has 4 EditText views and a submit Button view. I need to have "Next" button for the first 3 EditText's and a "Done" button for 4th EditText field in place of a "New Line" key of soft keyboard. How can this be done? 回答1: In your layout, just set the XML attributes android:imeOptions="actionNext" for your first three text boxes and android:imeOptions="actionDone" for the last one. See: android:imeOptions documentation Also, there's a small XML example in the training docs. 回答2: to