The screen that layout validation and show system ui is different

291 Views Asked by At

I made a screen at the Android studio. When I ran it, I couldn't understand that these three screens were different. What should I make the screen according to?

enter image description here

this is show System Ui version

enter image description here

this is Layout Validation version

enter image description here

this is Nox version

2

There are 2 best solutions below

0
Nursultan Almakhanov On

ImageView has such behavior on some devices, so if your image is a vector type, try by using app:srcCompat="@drawable/my_image" instead of android:src="@drawable/my_image".

0
khushbu On

please share your layout XML code for more clarification on constraints also for the app compact image view, you have to use "app:srcCompat="@drawable/my_image" to load the image. @Whateve