Home > Software design >  The screen that layout validation and show system ui is different
The screen that layout validation and show system ui is different

Time:05-16

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

CodePudding user response:

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".

CodePudding user response:

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

  • Related