'Android App (Kotlin) - user should not be able to reach taskbar, taskbar should not be visible

Following Problem:

The use case assumes that the user of the app is not allowed to leave the app.

In other words, he should not be able to use anything except the app. The app is a service terminal, and the user should not be allowed to do anything on the device outside of it.

Now I managed to hide the taskbar, but you can still reach the taskbar by a "pull down" movement....

Unfortunately I can't find any help by researching...

enter image description here

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source