Why some applications compresses screen on MOTO g4?

A

AC Question

At work we are trying to develop an app on Android phone on Initiate 2020 Android Application. On my phone the screen is ok and popping up keyboard does not compresses the screen on the app, everything is ok and I keep on working with app. Hence, if I take my colleagues phone and as soon as we try to open the app and to log in the screen (the popping up keyboard) gets compressed it happens on other Android also. Which settings shall I check? What could influence it?

Any answer would help to do brainstorming:)

Thank you for your support.