简体   繁体   English

键盘隐藏时隐藏光标

[英]Hide cursor when keyboard hides

Looked though questions and can't find if there any way to hide cursor when keyboard hides. 看起来虽然有问题,但在键盘隐藏时无法找到隐藏光标的方法。 So there is no method(callback) that keyboard hides? 所以没有键盘隐藏的方法(回调)? By the way documentation says that is not a good manner. 顺便说一下文档说这不是一个好方法。

使用editText.clearFocus()方法删除游标。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM