Reputation: 39
Basically I downloaded 2 images and put them under the folder res/drawable and it appears in the left Project bar in android studio. But when I drag image view to the layout, it cannot find any of two I put inside the drawable folder.
Moreover, sometimes it can find, sometimes it can't.
Upvotes: 0
Views: 841
Reputation: 843
Happened to me once. The images went to drawable(v24)
folder and were not visible when creating an image view.
Obviously, first you have to check for synchronisation issues like said in the comments to the question. If that doesn't help, maybe this might work.
If your project window is in Android view, change it to project view(top left corner in the project window). Then move your images to res/drawable
folder if they are in res/drawable(v24)
.
Upvotes: 2