ianharrigan / haxeui

IMPORTANT NOTE! This repository is no longer maintained. Please consider the newer version: https://github.com/haxeui/haxeui-core
http://haxeui.org/
392 stars 46 forks source link

How to respond to soft keyboard? #306

Open ShaheedLegion opened 9 years ago

ShaheedLegion commented 9 years ago

Hi, I'm developing a very simple UI using HaxeUI, and it's all working well - text input is working perfectly, I just have one question - how do I respond to the softkeyboard display?

This is obviously only an issue when compiling natively for android.

As you know, in most activities, it's possible to get a resize event when the soft keyboard is displayed, but I'm not seeing this event happen in my app.

My app is fairly simple, I've placed a text input at the bottom of the screen. When the soft keyboard shows, it covers up the text input field - I was hoping to get a fullscreen input in this instance.

Is there a flag I can set, or a workaround I can use from some online source?

Thanks