Is there any way in Android to get the height of the virtual keyboard displayed on the device in run time? Actually I want to show a text box above the keyboard.
To solve this I have written a keyboardHeightProvider which can calculate the height of a floating soft keyboard. The Activity can be set to adjustNone or adjustPan in the AndroidManifest.xml.
https://github.com/siebeprojects/samples-keyboardheight
Siebe
1.4m articles
1.4m replys
5 comments
57.0k users