In Android 7 and later you can use split screen and open a second activity in the other half of the screen by following this tutorial. Running B4A Apps in Split Screen Mode | B4X Programming Forum
I have this feature in both my BasicIDE, to open a script with the source still visible, and in one of my mapping apps. Under Android 10 and later both activities can be active.