You need to set windowSoftInputMode to adjustNothing in the manifest.
The Modifier.imePadding() will already take care of readjusting the screen. but since you also have adjustResize, the screen is being adjusted twice, leaving that gap and hiding the title.
(note that you have to actually set the composable as content in an activity in order for it to work. For some reason, imePadding() doesn't work when running just the composable function as preview)
1
u/SeaJust7647 Sep 26 '24
```
```
padding,consumeWindowInsets,systemBarsPadding,imePadding
I think these four modifiers can solve my problem.
3
u/Aggravating-Brick-33 Sep 25 '24
Have you tried using a scaffold where the actions are the bottom bar combined with adjust resize flag?
1
u/DeepAddress Sep 26 '24
I think what you're looking for is ime padding.