andreea andreea - 1 year ago 135
Android Question

How do I Detect if Software Keyboard is Visible on Android Device?

Is there a way in Android to detect if the software (a.k.a. "soft") keyboard is visible on screen?

Answer Source

There is no direct way - see where Dianne Hackborn from the Android team has replied. However, you can detect it indirectly by checking if the window size changed in #onMeasure. See Android: Is software keyboard shown?.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download