Getting visible screen size when keyboard shown

Monkey Targets Forums/Android/Getting visible screen size when keyboard shown

Shagwana(Posted 2015) [#1]
Anyone got a way to work out either how big the virtual keyboard is or how big the visible area of screen is when you EnableKeyboard()?.

My best guess at the moment, is to presume the top 3rd of the screen is available at all times.


skid(Posted 2015) [#2]
I went with top half of screen.

The only other alternative is to roll your own keyboard.

Third party Android keyboard implementations means every manufacturer has quirks so for next project I plan to implement my own.