You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok, just leaving this a comment for others.
Tried delaying for half second before reading values after receiving onKeyboardActivated.. works!
And the Y value is spot on!
If I call MeasureKeyboard.getInstance().getKeyboardY() it will always return the height of the stage, and MeasureKeyboard.getInstance().getKeyboardHeight() will always return 0. Even after a delay of 1 second. Do I have to put something special in the application description xml to get this return the correct values?
Tested this on cheap 7 inch android tablet.
It reports Y to be 752 and height to be 0.
The normal softkeyboard size rect says top = 312 (which is not correct either of course)
Any suggestions. Should I delay my readings? Think I maybe saw different values when debugging? But can't get them now..
The text was updated successfully, but these errors were encountered: