• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Prevent EditText collapse on keyboard popup?

tr00don

Lurker
In an Android app, in a vertical linear layout I placed, from the top to the bottom: a multiline EditText in a ScroolView; a TextView in a ScrollView; and a Button. When the app starts the EditText gets the focus and the soft keyboard pops up. The app layout is collapsed (windowSoftInputMode = adjustResize) except for the Button (which is what I expect as user must have access to it).

I need the EditText to not collapse at any time, just like the Button.

How do I also prevent the EditText from collapsing when the soft keyboard pops up?
 
Last edited:
Back
Top Bottom