I have got an EditText looking like this (with \"bottom gravity\"):
It happens sometimes that setting activity in manifest
android:windowSoftInputMode="stateVisible|adjustResize"
android:windowSoftInputMode="adjustPan"
not working with scrolling views containing EditText.
After research I figured out
that to work in some cases parent layout has to be set android:fitsSystemWindows="true". Then native functionality of scrolling EditText above scrollbar working like a charm.
In your Manifest file add the following code for this particular activity
<activity android:windowSoftInputMode="adjustPan">
Check this doc for more info.
use
android:windowSoftInputMode="stateVisible|adjustResize"
in your Manifest file. See developer site for your reference
Simply setting android:fitsSystemWindows="true" in the layout xml worked for me.