我需要开发应用程序来设置壁纸。 Android 壁纸的规范是什么?尺寸、mdpi 和 ldpi hdpi?
谢谢,
最佳答案
它们实际上是像素密度的范围。查看:http://developer.android.com/guide/practices/screens_support.html
他们在该页面上给出了近似平均值:
低密度像素:~120dpi
平均分辨率:~160dpi
分辨率:~240dpi
xhdpi: ~320dpi
nodpi:密度无关
tvdpi:~213dpi(主要用于电视,应用不需要它)
编辑 这也可能有用。
To create alternative bitmap drawables for different densities, you should follow the 3:4:6:8 scaling ratio between the four generalized densities. For example, if you have a bitmap drawable that's 48x48 pixels for medium-density screen (the size for a launcher icon), all the different sizes should be:
36x36 for low-density
48x48 for medium-density
72x72 for high-density
96x96 for extra high-density
还有
To help you target some of your designs for different types of devices, here are some numbers for typical screen widths:
320dp: a typical phone screen (240x320 ldpi, 320x480 mdpi, 480x800 hdpi, etc).
480dp: a tweener tablet like the Streak (480x800 mdpi).
600dp: a 7” tablet (600x1024 mdpi).
720dp: a 10” tablet (720x1280 mdpi, 800x1280 mdpi, etc).
关于android - 壁纸安卓尺寸,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11433256/