https://kotlinlang.org logo
#compose
Title
# compose
z

zt

01/12/2023, 3:52 AM
I'm trying to use the new SearchBar composable and I'm having an issue For whatever reason the expanded bar is really close to the top. The search shown on the material 3 page has much more spacing between the top
k

Kirill Grouchnikov

01/12/2023, 4:55 AM
Looks like it's extending into the system status bar
c

Colton Idle

01/12/2023, 1:33 PM
Have you tried adding statusBarPadding to the search component?
Modifier.statusBarsPadding()
2 Views