Android multiple screen sizes with same density

后端 未结 6 834
你的背包
你的背包 2020-11-29 16:49

I\'m confused regarding the densities. I see that with medium density, the screen resolution could be either 320x480, 480x800, or 480x854. So if I have an image thats 300px

6条回答
  •  鱼传尺愫
    2020-11-29 17:20

    So if I have an image thats 300px wide in the mdpi folder, how is it going to look the same size on all 3 different screen sizes (mainly 320x480 vs the other 2)?

    How the image looks, physically, is driven by screen density, not screen size. Your -mdpi folder is not tied to screen size -- it is tied to screen density.

提交回复
热议问题