Android: lock components in place using a soft keyboard

The soft keyboard moves the TextView object with it (adjustment), and this causes the TextView to overlay another TextView that I would like to see.

I need a way to specifically lock this TextView so that the keyboard overlays it. But only this component. I do not want to pan the entire window, only one, one, TextView object.

Is there a way to tell TextView, โ€œDammit bro, don't move with the keyboardโ€ programmatically?

To be honest, I would also agree to agree that all components do not move, allowing the keyboard to overlay them all.

Thanks in advance.

+3
source share
1 answer

, , , .

android:windowSoftInputMode "adjustNothing,", , , ( ).

, adjustPan adjustResize , .

0

All Articles