由网友(独饮毒)分享简介:我怎样才能触发软键盘,并添加监听到它的钥匙?How can I trigger the software keyboard and add listeners to it's keys?推荐答案要显示的软键盘,你可以试试: InputMethodManager.showSoftInput() To displa...
我怎样才能触发软键盘,并添加监听到它的钥匙?
How can I trigger the software keyboard and add listeners to it's keys?
推荐答案
要显示的软键盘,你可以试试: InputMethodManager.showSoftInput()
To display the soft keyboard you might try: InputMethodManager.showSoftInput()
至于添加监听器,最好你能做的就是增加一个 TextChangedListener
到的EditText
听变化的EditText
认为,通过键盘进行。
As for adding listeners, the best you can do is add a TextChangedListener
to an EditText
to listen to the changes in the EditText
view that are made via the keyboard.
相关推荐
最新文章