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
?
精彩评论