Frage

I have an EditText using a background with a big height, when I click on my EditText, the screen shifts up to show the soft keyboard, but not the entire EditText stays visible. The bottom part of the Edit Text background disappears because the soft keyboard goes up in it. I need that my screen shifts up a little more! How could I do that?

Tks,

War es hilfreich?

Lösung

I think its better to use a ScrollView. Using this will shift the entire screen up. Try it out once

Andere Tipps

Create a empty layout and put it at the bottom of the screen by property align parent bottom set to true.

Now set your edittext above it. Add property layout_above and pass the id of the layout.

Now in the manifest, add screensize to config changes attribute for that activity or in the application tag

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top