How do I get the OSK's height on Android?

0 favourites
  • 1 posts
  • Hi!

    I've asked this some times but nobody was able to answer me When I run my game on Android and a text box is focused, the virtual keyboard (OSK) pops up and overlaps almost 40% of the screen. I want my game to scroll up when the keyboard is on screen, but I need the keyboard's height. There is no system expression that can help (neither WindowHeight nor Viewport expressions are affected, so Scroll To doesn't help either).

    I had thought of getting this value with an XML input and storing it as a variable, but I don't know how to do it or if this is even possible. Can you please give me a hint? I really need it and I'm sure there is a way to do it.

    Thank you for your help

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)