记得一开始用studio的时候,带我的人说图片资源要放到mipmap下面。
所以之后的几个项目的图片资源就放到mipmap下面去了。这段时间看google的官方文档的时候,突然发现了这个,原来mipmap下面只是用来放icon的。而.png 、.9.png、.jpg、.gif 的图片资源是放到drawable文件夹下的。多么痛的领悟....
drawable/ | Bitmap files (
See Drawable Resources. |
mipmap/ | Drawable files for different launcher icon densities. For more information on managing launcher icons with mipmap/ folders, see Managing Projects Overview. |