Android drawable resource File adaptation
/* When the screen is android:anydensity= "true", the application automatically loads the resources in the Hdpi,mdpi,xhdpi,xxhdpi,xxxhdpi folder individually, and when false, even if we are in hdpi,mdpi, LDPI folder has the same resource, the application does not automatically go to the appropriate folder to find resources, the application will convert the size density to medium density, thus loading the resources in the MDPI. */
The project I created does not have the android:anydensity= "true" above set, and the project will automatically load resources of different resolutions.
The five main pixel densities (MDPI, HDPI, XHDPI, xxhdpi, and xxxhdpi) should be scaled according to the 2:3:4:6:8 scale.
Density classification m density value range resolution icon size picture scale
MDPI 120~160dpi 320x480px 48x48px 1
hdpi 160~240dpi 480x800px 72x72px 1.5
xhdpi 240~320dpi 720x1280px 96x96px 2
xxhdpi 320~480dpi 1080x1920px 144x144px 3
xxxhdpi 480~640dpi 1440x2560px 192x192px 4
Further study reference: http://blog.sina.com.cn/s/blog_74c22b210100tn3o.html
Http://www.soso.io/article/98353.html
Android screen adaptation