For anyone with a similar problem:
What fixed in my case just put
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
into my onCreate method.
Without any xml changes, as this did not work for me at all, but it immediately worked like a charm. Although the xml solution seems more pleasant to me, even the same parameter does not work.
Separate it, since I did not find a quick and easy fix on the Internet.
Levit source share