0

is there a simple way to detect is softkeyboard opens? i search on Stackoverflow but all answers ar more as 4 years old. Maybe now is a easy way avilable?

i hope somone knowes a good solution

Ronny Bigler
  • 138
  • 9
  • 1
    Possible duplicate of [How do I Detect if Software Keyboard is Visible on Android Device?](https://stackoverflow.com/questions/4745988/how-do-i-detect-if-software-keyboard-is-visible-on-android-device) – P4yam Jul 20 '19 at 08:30
  • 1
    It all depends on your use case, but it usually involves an interface and a GlobalLayoutListener, or you can just use this simple class https://github.com/ravindu1024/android-keyboardlistener/blob/master/keyboard-listener/src/main/java/com/rw/keyboardlistener/KeyboardUtils.java made by ravindu1024. – Alex Jul 20 '19 at 08:45
  • There is no 'simple' solution, all solutions are nothing but a mere hack – Taseer Jul 20 '19 at 12:15

0 Answers0