Screen layout gets messed up when installing APK

Can someone help me?
I have a login screen where, upon typing in a text field, the screen shrinks in size—and the text field does too. However, when I test it using the Companion, this behavior doesn’t occur.
This is the third screen; before it, I have two others: a splash screen and a loading screen.
Login screen:
Vertical arrangement
Height: 75%
Width: 95%

Before typing:

When you start typing:

After typing:

Just a quick follow-up:
For the height and width settings, I used percentages. I switched to pixels, but the result remains the same.
I’m using a CardView with a TextBox, and the height and width are set to percentages.

Hi everyone, I’m attaching the project’s .aia file.
I’d appreciate it if someone could help me.

supermarket.aia (100.7 KB)

Move Vertical-arrangement into Vertical Scroll Arrangement.

Try this one:
supermarket_2.apk (5.9 MB)

Blocks

A post was split to a new topic: [FREE] InterfaceStabilizer

Try this without an extension:
supermarket_2.aia (102.4 KB)

Blocks

I set the height of all components, spacers, and card views in pixels. That solved the problem.