开发者

How to change the Android softkey keyboard "Go" button to "Next"

I have a WebView which has a form containing 10 editboxes. When I type in an editbox I find that in the softkey keyboard Go button is visible which eventually takes me to the next page. But I want Next button which should take me to the next editbox, not to the next page. So, how to change the sof开发者_JS百科tkey keyboard "Go" button to "Next" in Android?


In the xml, specifiy for your editboxes the attribute android:imeOptions="actionNext" . The next button will bring the user into the next field that accept input.


Take a look at http://developer.android.com/resources/samples/SoftKeyboard/index.html which may help you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜