In my iOS apps, whenever I have fields which require data-entry, I place them in the top-half of the screen. That way, when the keyboard pops-up, the fields are not hidden.
But with Android, it seems, when the keyboard pops-up, the screen moves up with it, thus hiding the data-entry fields.
At the moment, the only solution I can think if, is to re-arrange the fields if the platform is android, so that they are in the bottom half of the screen, and therefore remain visible when the keyboard appears.
I'm thinking there must be a more elegant solution.
I've tried things like:
Code: Select all
on keyboardActivated
set the rect of this stack to the effective working screenRect
end keyboardActivated
I have set the rect of the stack to 0,0,768,1024 and I'm using...
Code: Select all
set the fullscreenmode of this stack to "letterbox"
Bottom line is: I'm a bit lost. Is there a nice way to handle the keyboard pop-ups, such that the data-entry field is visible?
Many thanks...
--paul