Issue
I correctly added the "newfolder", using select Project, then new Resource Directory under res, choosing mipmap type folder etc.
No matter what I do, the new files (example "teste") will NOT APPEAR as a drawable in Project.
(New pngs I drop in to "mipmap-xxhdpi" work perfectly ... notice "hamburger" etc. appears fine.)
i HAVE rebuilt, cleaned, invalidated-caches-restart.
Absolutely no difference.
What's the deal?
This on a Mac, latest everything. (I'll try the project on a PC and report.)
Solution
I correctly added the "newfolder"
By definition, that is incorrect. You cannot invent new resource types, like newfolder
.
No matter what I do, the new files (example "teste") will NOT APPEAR as a drawable in Project.
That is because it is not a drawable. If you want to create a drawable resource, put it in a drawable
resource directory. For example, perhaps instead of newfolder-xxhdpi
, you might create drawable-xxhdpi
.
Answered By - CommonsWare
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.