如何禁用"接下来"一个软件的EditText键盘上的按钮(带&QUOT更换;完成"按钮) [英] How to disable "Next" button on a EditText software keyboard (replace with "Done" button)

查看:142
本文介绍了如何禁用"接下来"一个软件的EditText键盘上的按钮(带&QUOT更换;完成"按钮)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一大堆EditTexts在我的Andr​​oid应用程序,每个InputMethod设置为numberSigned。我的目标设备没有硬件键盘,并使用输入数字软键盘。 Android的替代完成按钮,输入框的右侧有一个下一步按钮的标准。我该如何使用完成呢?

I have a bunch of EditTexts in my Android application, each with InputMethod set to numberSigned. My target device does not have a hardware keyboard and uses the software keyboard for numeric entry. Android replaces the standard "Done" button to the right of the entry box with a "Next" button. How can I use "Done" instead?

推荐答案

尝试添加安卓imeOptions =actionDone的EditText

<一个href="http://developer.android.com/reference/android/widget/TextView.html#attr_android:imeOptions">Reference

这篇关于如何禁用&QUOT;接下来&QUOT;一个软件的EditText键盘上的按钮(带&QUOT更换;完成&QUOT;按钮)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆