-
Android
Storing image resourcesdrawable
与mipmap
What’s the difference between folders?If an imageView has a zoom animation, using the image under Drawable will always use one image to zoom the imageView.
If a picture under MiPMap is used, the picture with the largest and closest resolution is automatically selected for zooming according to the zooming degree.
-
Android
The official todrawable
和mipmap
Description of the purpose of the folder.The drawable folder stores bitmap files (PNG, JPEG, GIF), 9-Patch files, and XML files used to describe drawable shapes or drawable objects with multiple states (normal, pressed, focused).
The MipMap folder is used to store APP icon files. Android retains all image resources in this folder regardless of the screen resolution of the device on which the APP is installed. This behavior allows the launcher to select the best resolution icon for the APP to display on the home screen.
-
conclusion
App ICONS (that is, app ICONS) are stored in the MiPMap series, while the rest of the images are stored in the Drawable series.