The in built image in android studio is being displayed but if i am using any other image (in png or jpg),it is not being displayed(only white screen is being shown)

I have used image view tag and added the image using src attribute.

This is the code i tried.

        android:scaleType="centerCrop" />

Can u please suggest the changes for the expected solution? Thanks in advance

0 Answers