开发者

How to make a text entry fields move up when on screen keyboard is present

How to m开发者_StackOverflowake a text entry fields move up when on screen keyboard is present?


This post on the Android Developer Blog covers several options for dealing with layout issues when an on-screen input method editor is visible.


Just an idea :

you could use the getHeight() method from inputmethodservice.Keyboard to get the height of the softkeyboard on the screen, and then add a minus margin to your EditeText?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜