search

Home  >  Q&A  >  body text

android - 安卓手机设备宽度(独立像素)

那位同学分享下安卓手机不同品牌的安卓手机的设备像素比和设备宽度

比如小米3 的设备宽度是多少 像素比是多少

我知道用js可以获得, devicePixelRatio 和 window.screen.width
我没有人整理过不同品牌的手机设备宽度和像素比这些列表啊

PHPzPHPz2889 days ago619

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 17:55:48

    Post a decent address, but not all mobile phones. http://mydevice.io/devices/. Visit this URL to obtain screen information related to your specified device.

    In fact, it is not necessary to know all the pixels of mobile phones when doing projects. Just roughly follow the common device width. If problems are found during testing, compatibility will be made specifically for the specified device.

    reply
    0
  • Cancelreply