I have an example for you. Try it out once. I have based the example on the classic example provided by Erel.
Please note that you must use the libraries from the AdditionalLibraries-Zip file in order to be able to receive an event from the IME keyboard in a full screen edge-to-edge. I am the author of this library, which implements code I adapted from Stackoverflow. Unfortunately, I cannot provide support for this library: It is what it is. But you are welcome to use it.
Also, pay attention to the entries in the manifest that allow you to set full screen edge-to-edge.
You will notice that the height of the notch and the height of the navigation bar must be taken into account in the layout. That's why I've added a function to the code that has already been published elsewhere in the forum.
This example was made possible by Erel, the members of the B4X forum and authors at Stackoverflow, for which I am very grateful.
Thomas
View attachment 165324