开发者

Alighnment issues on Virtual Keyboard popup in blackberry

开发者 https://www.devze.com 2023-03-15 09:45 出处:网络
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 scree

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号