When ImageView doesn’t display in emulator in Android Studio

In ImageView there is two options src and srcCompact. Try both of them to find out which is working.

android:src="@drawable/pic"

and

app:srcCompat="@drawable/pic"

Leave a Reply to Anonymous Cancel reply