There is an issue with toolbar and bottom navigation into my Fragment when keyboard appears. If I use adjustPan my toolbar moves up, but when I use adjustResize my botton navigation appears above keyboard.
I looked at all the solutions to the problem on the Internet (fitsSystemWindows etc.), but nothing helped me.
Finally, I tried to use adjustResize (toolbar doesn't move up), then and I tried to hide bottom navigation, when keyboard appears (ViewTreeObserver helped me detected when keyboard appers), but the bottom navigation area remains, which is overlaid on my elements (please, see the attached images).