View size by keyboard display

Asked 2 years ago, Updated 2 years ago, 21 views

Hello, I'm always indebted to you.

There is a text entry window. AdjustResize has been set.

Screen configuration is

If the keyboard comes up here, I'd like to resize the editor text onlyten thousand The view below the editor's text will also be resized.

Is there a way to resize only the editor text as much as the keyboard value without resizing the view

android

2022-09-21 19:22

1 Answers

I don't know exactly what kind of layout it is, When EditText and View are perpendicular, assign the height of the View to a fixed value If EditText takes over the rest of the area, View always has a consistent size with or without a keyboard If I have a keyboard, I think I'll only have less EditText.


2022-09-21 19:22

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.