How to set a PNG file to an ImageView?
I have a file called nochart.png in /drawable.
How can I set this to an ImageView?
Does not compile.
you can also set the image using an xml file with the following attriblute
I encountered the same problem. The solution for me was to move the ".png" from "drawable-21" to "drawable".