Pentium10
Pentium10

Reputation: 207863

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

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

Upvotes: 1

Views: 1138

Answers (2)

codelark
codelark

Reputation: 12334

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

Upvotes: 2

Sephy
Sephy

Reputation: 50392

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?

Upvotes: -1

Related Questions