Difference between “screen size” and “screen density” in Android?

前端 未结 5 2033
日久生厌
日久生厌 2020-12-02 13:25

I have a few questions:

  1. What is the screen size?

  2. What is the screen density?

  3. What is a differenc

5条回答
  •  难免孤独
    2020-12-02 14:16

    screen size is about how many pixels you can show on screen.

    Density is based on your device real size, if it's small and has a higher resolution, than the density is high cause you show more pixels in less physical space.

    1.screen size concerns an absolute number of pixels. (check out wikipedia Image Resolution)
    
    2.Density (aka Pixels per inch - PPI) concerns a relative number of pixels per inch. (check out the wikipedia Pixel Density)
    

提交回复
热议问题