I have a simple activity that displays a big multiline EditText
and some other controls below it. I want the activity to resize so the buttons are not hidden by the keyboard when the user is typing in the EditText
.
I have tried all sorts of sketchy and non-sketchy solutions I have found online - nothing works.
Here's what I've tried so far:
- Putting
android:windowSoftInputMode="adjustResize"
in the manifest. - Putting
android:fitsSystemWindows="true"
in the layout root. - Using
RelativeLayout
vs.LinearLayout
as root. - Removed all themes from the activity
- Created a custom theme and put
<item name="android:windowFullscreen">false</item>
in it. - Tried the proposed solution here, with my entire activity layout inside a
ScrollView
.
Anything left to try?