这对应于一个 xxhdpi屏幕。从这里我可以把这1080 x 1920的比例缩小到上面的(3:4:6:8:12)。
I could also acknowledge that downsampling is generally an easy way to scale and thus I might want slightly oversized bitmaps bundled in my apk (Note: higher memory consumption). Once more assuming that the width and height of the pixel screen is represetative, I would scale up the 1080x1920 by a factor of 480/441, leaving my maximum resolution background image at approx. 1200x2100, which should then be scaled by the 3:4:6:8:12.
请记住,您只需要为位图文件(。PNG,.JPG 或者。Gif)和九修补程序文件(.9。Png).如果您使用 XML 文件来定义可绘制的资源(例如形状) ,只需将一个副本放在默认的可绘制目录中。