Joe Altidore
05/27/2024, 6:34 AMfull screen
. How do I achieve this?Vlad Mircan
05/27/2024, 10:23 AMWindowCompat.setDecorFitsSystemWindows(_window_, false)
Now all screens will be "full screen" by default.
You can now use Modifier.systemBarsPadding()
accordingly to manage the SystemBarInsets
.Joe Altidore
05/27/2024, 11:08 AMVlad Mircan
05/27/2024, 11:36 AMiOS
you will need to do the equivalent (ignoreSafeArea
or whatever they have).
Your question was about compose so the steps are the following:
1. Make sure the nativeContainer in which you want to display compose is full screen itself
2. Make sure that systemBarsPadding()
are not applied before you want to (before a background for example)Joe Altidore
05/27/2024, 12:26 PMCompose Multiplatform