mattinger
11/17/2022, 6:56 AMmattinger
11/17/2022, 7:57 AMOleksandr Balan
11/17/2022, 9:38 AM.imePadding
modifier? You could try to add it to your Column.mattinger
11/17/2022, 1:21 PMWindowCompat.setDecorFitsSystemWindows((LocalView.current.context as Activity).window, false)
But that has other side effects that require you to make sure you use the .statusBarPadding() modifier and other things. I'm trying to make something that's entirely standalone and self contained. The above works, but as i've said it requires the user of the container to do that and make sure they use statusBarPadding as well:
SearchBarScaffold(
modifier = Modifier.statusBarsPadding(),
searchBarHostState = searchBarHostState
) {
Column(modifier = Modifier.padding(it).padding(16.dp)) {
I'd love to find a standalone solution that just works no matter whether the flag is set or not.mattinger
11/17/2022, 1:44 PM