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

Nikolas Guillen Leon

06/01/2022, 3:12 PM
Hi 🙂 I’m having some trouble with paddings/page resize when keyboard is opened, I’m attaching a video of the problem. It looks like if the TextField is in the very bottom of the screen, the imePadding does not work correctly. I’m using AdjustResize in my Manifest and
Copy code
WindowCompat.setDecorFitsSystemWindows(window, false)
in MainActivity. My Column’s modifier is
Copy code
modifier = Modifier
                    .fillMaxSize()
                    .padding(horizontal = MaterialTheme.spacing.medium)
                    .padding(paddingValues)
                    .consumedWindowInsets(paddingValues)
                    .imePadding()
                    .verticalScroll(rememberScrollState())
(Modifier.systemBarsPadding() is in the NavHost)
j

jasu

06/02/2022, 5:03 AM
5 Views