Bradleycorn
06/20/2022, 3:40 PMonCreate
looks like this:
WindowCompat.setDecorFitsSystemWindows(window, false)
setContent {
MyAppTheme {
val systemUIController = rememberSystemUiController()
SideEffect {
systemUIController.setStatusBarColor(
color = Color.Transparent,
darkIcons = true
)
}
}
}
But the status bar is rendered as solid white, as shown in this screenshot (note how the text at the top is cut off as it scrolls under the status bar)Jan Skrasek
06/21/2022, 5:20 AM