android making layout scrollable when soft keyboard open, but not shifting it upwards
Add this input mode in your manifest file.
android:windowSoftInputMode="stateHidden|adjustResize"
I had the same Problem and solved it.
Add this to your class inside the <activity>
tags in the AndroidManifest in your Class:
android:windowSoftInputMode="stateHidden|adjustResize">
or:
<activity android:name="com.app.app.RegisterScreen" android:parentActivityName="com.app.app.LogInScreen" android:windowSoftInputMode="stateHidden|adjustPan"> </activity>
Example:
<activity android:name="com.app.yourapp.LogInScreen" android:windowSoftInputMode="stateHidden|adjustPan"></activity>
This works for me.
Make the root of your view
<ScrollView android:layout_width="match_parent" android:layout_height="match_parent"> ...</ScrollView>