This image:

When I first click on the "Confirm password" EditText, it works as it should - the layout pops up, so I can enter the text in the selected EditText, but when I dismiss the keyboard (this EditText is still focused) and click on the same EditText again , it will remain under the keyboard.
The main layout is RelativeLayout, the input fields are in the ScrollView, and the buttons are in the LinearLayout, aligned with the parent bottom.
In the manifest, I have android:windowSoftInputMode="adjustPan" .
Is this some kind of problem with Android, or am I doing something wrong?
source share