Reputation: 21
i am trying to add an image in my android app. I am using html. I have my photos in the res/drawable folder. I use the code img src= but i just get a question mark over the image. What am i doing wrong?
Upvotes: 0
Views: 583
Reputation: 82583
Try using:
<img src="file:///android_res/drawable/image.png" />
You do not need to put the qualifier for the drawable in the SRC attribute.
Upvotes: 1