How can I get the height of virtual keyboard in Android? Is it possible?
I try to get it from the main window, but it gives me full height of the application. But I
Try this
KeyboardView keyboardView = new KeyboardView(getApplicationContext(), null); int height = (keyboardView.getKeyboard()).getHeight(); Toast.makeText(getApplicationContext(), height+"", Toast.LENGTH_LONG).show();