Hi guys, I use fullscreen mode, but it happened to me a lot to close the keyboard because the "back" gesture was often scanned.

One way to soften this, and use gestures, was to use this app:
https://play.google.com/store/apps/details?id=com.fb.fluid

So I deactivated the infinite screen mode, and set the button navigation mode.

For those who do not have root (like me) I ran the command via ADB and it worked, so that it is possible to hide the notification bar and use the FLUID gestures instead of the MIUI gestures, the gestures of this app, when opening the keyboard, only works above the keyboard.