https://kotlinlang.org logo
z

zoha131

11/22/2020, 8:59 AM
I have a screen with full of TextFields. How can I get to the last TextField at the bottom when soft keyboard is visible on the screen. I have tried by setting
adajustpan
and
adjustresize
but those are not working for me.
a

Adriano Celentano

11/22/2020, 10:50 AM
although i have to say for me the ime (keyboard) padding was always 0, i propably used the library wrong
z

zoha131

11/22/2020, 11:10 AM
I have been trying that. It is not working for me.
r

Robert Menke

11/22/2020, 1:33 PM
This is the article you need @zoha131 . You have to set it on the activity itself in your manifest.
z

zoha131

11/22/2020, 2:10 PM
@Robert Menke I have read that.
adjustresize
used to work in the earlier version of compose. but it is not working in
alpha-07
not sure if it is intended or I am doing something wrong. As of my understanding
adjustresize
should resize the window but the window is not resizing.
r

Robert Menke

11/22/2020, 5:35 PM
Interesting I’m on alpha-07 and I’m not having that issue. I am, however, still occasionally having an issue where focusing the text field doesn’t bring up the keyboard.
d

David Attias

11/23/2020, 2:16 PM
I've tried adjustresize and it's working fine for me
i'm on alpha07
z

zoha131

11/26/2020, 6:17 PM
Yeah it is working for me too. I was running the preview composable in my phone which gave me this unexpected behavior.
2 Views