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?
this is show System Ui version
this is Layout Validation version
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