I'm currently building an application in jetpack compose which requires full screen mode throughout the app. Problem is whenever a dialog or popup appears status bar and navigation bar gets visible i.e. application goes out from full screen mode.
I've tried "SystemUiController" to hide both but I've to do it manually on every popup screen. Is there any way that application handles full screen popup and dialogs automatically?
I'm using this code to make my app fullscreen, per Android docs:
In the MainActivity, it can look like this:
}