Using the method shown in this thread - How to check the visibility of a software keyboard on Android?
I can detect keyboard hiding in portrait mode or landscape mode when the keyboard is not in full screen mode. If the keyboard is in full-screen mode in landscape mode, then layout changes do not start, and therefore, I cannot find it in OnGlobalLayoutListener !
Please help me with this? There is no easy way to detect keyboard hiding?
NOTE. I cannot change anything in the manifest file. All this must be done dynamically with code!
Thanks!
source share