Get the height of virtual keyboard in Android

You can’t get the keyboard height, but you can get the height of your View, which is what you really want – and you’ll get this data supplied to the onLayout call into the current view.

Leave a Comment