After setting focus in the textfield, the keyboard changes the position of the content


I have a login page. The first time the application is loaded and redirect to the login page, I get what I expect.

Good view

After authorization, I navigate through the pages inside the application, and when I log out and try to log in again, I set focus on the field and the keyboard shifts my content.

Why is this happening? Which part of the code should be provided?

Bad View


That must be the window soft input mode in your Android manifest. You have to change that adjustPan from adjustResize.


yes, it really worked. Thk u!