How can I get the keyboard height of the current input method without showing it?

It seems like this cannot be achieved with help InputMethodManager, but there seems to be a method getHeight()in Keyboard.

Thanks in advance.

EDIT

I am not writing my own input method.

+4
source share
1 answer

This is not an ideal answer, but it can help. From what I collect, are you looking for keyboard height?

fooobar.com/questions/705782 / ... suggests it's not as easy as you hoped, but maybe a solution for you?

(1) android , Viewtree Observer , "flash" ( , ). , , (- ) . " ".

(2) fooobar.com/questions/83145/... , , , , ( ) ?

, , , .

+1

Source: https://habr.com/ru/post/1544651/


All Articles