软键盘输入的按钮 - Android版 [英] Enter Button on Soft KeyBoard - Android
本文介绍了软键盘输入的按钮 - Android版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
即时通讯使用的是一个单行编辑文本,所以当我点击编辑文本框,在输入到位按钮即时得到加油。但我希望在的地方去键回车键。我怎样才能做到这一点。请某些人能给出这个解决方案?
Im using a a Single Line Edit Text , so when i click on Edit text box, im getting "Go" in place of Enter button. But i want Enter key in place of "Go" key . How can i do this .. Please some one can give solution for this ?
推荐答案
我不知道,但你可以尝试 的android:imeOptions =actionDone
,总之你需要尝试的android:imeOptions
属性
I am not sure but you can try android:imeOptions="actionDone"
, in short you need to try android:imeOptions
attribute.
这篇关于软键盘输入的按钮 - Android版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文