开发者

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

开发者 https://www.devze.com 2023-03-12 17:32 出处:网络
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 Nex

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

精彩评论

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