Skip to content Skip to sidebar Skip to footer

Android Image Not Showing In Imageview

I am having problems with my xml file. I want to show a picture but the picture is not showing. Strange thing is I am using the same picture in an other part of my app and there ev

Solution 1:

Use android:src instead of app:srcCompat


Solution 2:

You cloud use Following code for set Image

android:src

or

android:background

Hope it help


Solution 3:

I think You should edit srcCompat to src. src is meant for source and sourceCompat Is for Backwards Compatiblity Of Vector Drawable Files For Android Devices Running On and below ICS -- IceCream Sandwich.


Solution 4:

application extend AppCompatImageView. I Use

android:foreground

this work for me.


Solution 5:

The bigger size of an image could be an issue as well. Resize the image to a smaller size (using paint in windows) and use it, this might work.


Post a Comment for "Android Image Not Showing In Imageview"