I have a 开发者_运维问答login screen with some textfields, textboxs, buttons and having the background image to the screen. Now the issue is on touch devices when virtual keyboard is popups, the screen shrinks with its background image and all components alignment get disturbed. I have also enabled the Vertical scroll to the screen but still alignment get disturbed. Please can one help me to sort out this issue.
Thanks,
I guess, you are using Display.getHeight() for the alignment of UI component. And after displaying virtual keyboard, Display.getHeight() not return the actual screen height. It's return the height excluding the keyboard height.
精彩评论