hdpi ldpi mdpi

1.drawable (hdpi, ldpi, mdpi) What is the difference?

A: The main is to support multi-resolution.
hdpi placed inside the main high-resolution images, such as WVGA (480x800), FWVGA (480x854)
mdpi placed inside the main medium-resolution images, such as HVGA (320x480)
inside the main ldpi lowered resolution images, such as QVGA (240x320)
System based on the resolution of the machine to separately inside these folders to find the corresponding picture is why in the development of the program is compatible with different platforms to different screens, recommended to their respective folders are placed under the needs of different versions of the pictures


如果放drawable的图片,在WVGA的机器或者模拟器上打开,
他的pixel会被自动*1.5

你可能感兴趣的:(dp)