Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

[Android] offset for adjustResize / imePadding?

Hello, using Kotlin and Compose, I created a Column in a Box, I use android:windowSoftInputMode="adjustResize" in the manifest file

The Column's Modifier uses .align(Alignment.BottomCenter) and .offset(y = (-110).dp), it looks like this:

Screenshot 2024-11-26 at 4.40.49 AM.png

The Column's Modifier also uses .imePadding(), it looks like this when the keyboard is shown:

Screenshot 2024-11-26 at 4.41.03 AM.png

Is there some way to use some offset so when the keyboard appears, the Column goes lower?
So there is no space between the Login button and the keyboard

Regards
 

Buy us a coffee!

Buy me a coffee.
Back
Top Bottom