1

嗨,我想在EditText聚焦时打开键盘GO,代替 Next 和 Done 按钮。

我用了

            android:imeOptions="actionGo"

EditTextxml 标记中,但它只显示一个箭头而不是 GO。

提前致谢

4

1 回答 1

1

The keyboard itself decides what to show, based on its own set of choices. There is no way to force it to show anything, and not all keyboards will decide based on the same things. You can improve your odds by only using 1 of those options and by making sure its not multiline (many keyboards will not remove their enter key in a multiline edit field), but its still up to the keyboard.

于 2014-07-01T09:21:14.013 回答