如果你在AS中的android项目视图下,会发现与eclipse有不同,有mipmap和drawable文件夹,很多人不清楚(包括我)到底项目的图片资源应该放在哪个文件夹,于是逐个尝试了一下,觉得还是应该放在drawable
其实goole官方有介绍: Managing Projects Overview
drawable/
For bitmap files (PNG, JPEG, or GIF), 9-Patch image files, and XML files that describe Drawable shapes or Drawable objects that contain multiple states (normal, pressed, or focused). See the Drawable resource type.
mipmap/
For app launcher icons. The Android system retains the resources in this folder (and density-specific folders such as mipmap-xxxhdpi) regardless of the screen resolution of the device where your app is installed. This behavior allows launcher apps to pick the best resolution icon for your app to display on the home screen. For more information
结论:app icon 放 mipmap 下面,其他都放 drawable 下面