Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View moves with soft keyboard, blocking other UI objects

I've got a container view that I'd like to stay at the bottom of my view at all times that sits below a ScrollView. The ScrollView has a handful of UI objects, one being a EditText object. Currently, when the user taps inside of the EditText object, the android-softkeyboard appears, and brings the container view with it, and blocks some UI objects. How can I get that container view to stay at the bottom of the layout at all times and not move with the keyboard when it appears?

Here's a screenshot - http://d.pr/3LQ2

Here's my layout.xml - http://d.pr/HmXC

Thanks in advance, Cole

like image 639
Cole Avatar asked May 24 '11 14:05

Cole


1 Answers

In manifest add in activity tag:

android:windowSoftInputMode="adjustPan"
like image 164
pawelzieba Avatar answered Nov 10 '22 19:11

pawelzieba