App interface changing on different devices

I just tested my app on an other device and found that my app’s interface had been changed in different devices.

Here is my actual ( perfect ) app:

Here is the distorted app on my other device:

I then noticed that Card View is the main cause of the issue. The issue is only taking place where I’ve used Card View.

I also noticed that the app is looking different to devices which have inbuilt ( internal ) navigation bar

image

Please reply if you have any hint or solution to this issue.

Search on Community first

2 Likes

I searched but couldn’t find any solution.

How do you calculate the height of these or is it fixed size

bild

Devices with navigation bar are shorter by 48dp

1 Like

Here are properties of that blue container -

image

How about the button as it’s only it that get squeezed

1 Like

Here are that button’s properties -

image

Set height in percentage or px if automatic fill then available space then it shows bigger in big screens and small in small screen

2 Likes