Android-Collection
Android-Collection copied to clipboard
mipmap目录和drawable目录区别
mipmap在使用上,把它当drawable用就好了。但是用mipmap系统会在缩放上提供一定的性能优化,因此图标最好放到mipmap目录下,看下官方总结:
It’s best practice to place your app icons in mipmap- folders (not the drawable- folders)
because they are used at resolutions different from the device’s current density.
也就是说mipmap文件夹下最好只放启动图标,当然放别的也没坏处,没什么不可以。
https://github.com/android-cn/android-discuss/issues/114