禁用Google键盘中的下一个/上一个键

时间:2016-05-05 05:43:20

标签: android android-edittext android-inputtype

在我的EditText中使用Google键盘时,点击并按住Enter键会显示表情符号和下一个/上一个键。按下next / prev键时,EditText失去焦点。当我在我的应用程序中需要表情符号时,有没有办法不显示next / prev。

enter image description here

1 个答案:

答案 0 :(得分:0)

在你的布局中,只需设置XML属性android:imeOptions =“actionDone”。