Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I cause editing of EditText to happen in full screen mode?

As shown in the landscape images here: http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html .

I don't necessarily need to do the fullscreen thing, but my issue is that the EditText is below the soft keyboard and I cant figure out how to get the whole thing to display above it. Its a note field, and fills whatever open space there is from the end of my other fields to the bottom of the screen. Currently when I select the note, the screen moves up just enough to see the top of the note field, but this is not good enough. I want the top of the note field to move up to the top of the screen, to maximize what the user sees while they are editing the field.

My softInputMode in the manifest is adjustPan, but changing these settings has not done anything for me.

like image 784
finiteloop Avatar asked May 13 '11 22:05

finiteloop


1 Answers

You need to add a ScrollView around the view to make it slide and change adjustPan to adjustResize (adjustPan is normally not recommended) to the activity on the manifest.

like image 154
neteinstein Avatar answered Oct 27 '22 00:10

neteinstein