<分区>
Possible Duplicate:
Android: how can i tell if the soft keyboard is showing or not?
在android中如何检测软键盘是否显示在屏幕上?
<分区>
Possible Duplicate:
Android: how can i tell if the soft keyboard is showing or not?
在android中如何检测软键盘是否显示在屏幕上?
最佳答案
没有直接的方法 - 请参阅 http://groups.google.com/group/android-platform/browse_thread/thread/1728f26f2334c060/5e4910f0d9eb898a来自 Android 团队的 Dianne Hackborn 已经回复了。但是,您可以通过检查 #onMeasure 中的窗口大小是否更改来间接检测到它。参见 How to check visibility of software keyboard in Android? .
关于Android - 如何检测屏幕中显示的软键盘,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4747417/