Not a simple maybe. I’ve just tested it with this video, on an Android 10 and a Lollipop device.
Here’s the code.
Edit: If you are using APDE, you have to move fullScreen(); from settings() to setup(), because in the last version, settings() can be used anymore.