当前位置:网站首页>【移动端】手机界面的设计尺寸
【移动端】手机界面的设计尺寸
2022-06-24 21:56:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
从设计方面来看,做手机界面设计的尺寸一般分为iPhone和Android两种设备。
Android的常用逻辑分辨率:
Android的常用逻辑分辨率:参考屏幕尺寸大全 |
|---|
360 * 640 、 360 * 720、 360 * 740、 360 * 760、 360 * 780、 360 * 800 |
411 * 731 |
480 * 853 |
iPhone的分辨率
设备 | 逻辑分辨率(point)(pt) | 物理分辨率(pixel)(px) | 屏幕尺寸(diagonal) | 缩放因子(scale) | 像素密度 PPI | 比例(近似) |
|---|---|---|---|---|---|---|
iPhone 2G / 3 / 3GS | 320 x 480 | 320 x 480 | 3.5英寸 | @1x | 163 | 2:3 |
iPhone 4 / 4S | 320 x 480 | 640 x 960 | 3.5英寸 | @2x | 326 | 2:3 |
iPhone 5 / 5S / 5C / SE | 320 x 568 | 640 x 1136 | 4.0英寸 | @2x | 326 | 9:16 |
iPhone 6 / 6S / 7 / 8 | 375 x 667 | 750 x 1334 | 4.7英寸 | @2x | 326 | 9:16 |
iPhone 6 Plus / 6S Plus / 7 Plus / 8 Plus | 414 x 736 | 1080 x 1920 | 5.5英寸 | @3x | 401 | 9:16 |
iPhone X/XS | 375 x 812 | 1125 x 2436 | 5.8英寸 | @3x | 458 | 9:20 |
iPhone XS Max | 414 x 896 | 1242 x 2688 | 6.5英寸 | @3x | 458 | 9:20 |
iPhone XR | 414 x 896 | 828 x 1792 | 6.1英寸 | @2x | 326 | 9:20 |
iPhone SE (第二代) | 375 x 667 | 750 x 1334 | 4.7 英寸 | @2x | 326 | 9:16 |
iPhone 11 | 414 x 896 | 828 x 1792 | 6.1 英寸 | @2x | 326 | |
iPhone 11 Pro | 375 x 812 | 1125 x 2436 | 5.8 英寸 | @3x | 458 | |
iPhone 11 Pro Max | 414 x 896 | 1242 x 2688 | 6.5 英寸 | @3x | 458 | |
iPhone 12 mini | 375 x 812 | 1080 x 2340 | 5.4 英寸 | @3x | 476 | |
iPhone 12 / 12 Pro | 390 x 844 | 1170 x 2532 | 6.1英寸 | @3x | 460 | |
iPhone 12 Pro Max | 428 x 926 | 1284 x 2778 | 6.7英寸 | @3x | 458 |
全新 iPhone 12 发布,再谈 iPhone 屏幕尺寸
屏幕尺寸
屏幕尺寸是指屏幕的对角线长度。
单位
屏幕的单位是以英寸为单位。换算关系如下:1 inch = 2.54cm = 25.4mm
逻辑分辨率和物理分辨率
逻辑分辨率以point(pt)为单位,物理分辨率以pixel(px)为单位。
缩放因子(scale)
因为逻辑分辨率和物理分辨率存在着一定的比例关系,这种比例的关系称为缩放因子。其对应关系为:1pt = scale * px
像素密度PPI
像素密度PPI(Pixel Per Inch)是指每英寸上容纳的像素数量。
计算PPI,可以简单用勾股定理计算出对线上出现的像素,再除以对角线上长度:
我们知道,手机的屏幕是以像素的方式一个一个呈现出来的。PPI值越高,意味着有更细腻的画面。较低PPI的屏幕看起来有颗粒感。但是当PPI值到达一定程度后,再继续提升肉眼就分别不出来了。这就是苹果提出的Retina显示屏的概念。在一定的距离内,手机显示屏在200PPI以上时,肉眼就分辨不出单个像素点了。
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/151801.html原文链接:https://javaforall.cn
边栏推荐
- 胰蛋白酶中英文说明书
- ICML2022 | 用神经控制微分方程建立反事实结果的连续时间模型
- 中金证券靠谱吗?开证券账户安全吗?
- Specific list of regular and safe domestic stock trading account opening
- Preg in PHP_ How to replace variable data
- CCNP的BGP部分笔记
- Integration of metersphere open source continuous testing platform and Alibaba cloud cloud cloud efficient Devops
- Taishan Office Technology Lecture: a simple study of Chinese punctuation in vertical arrangement
- Reading notes at night -- deep into virtual function
- write a number of lines to a new file in vim
猜你喜欢

DataEase模板市场正式发布

Day 04 - file IO

Fatigue liée à l'examen du marché secondaire des médicaments innovants: succès clinique de la phase III et approbation du produit
![搜索二维矩阵[二分巧用 + 记录不同于插入二分的解法]](/img/c9/afc03afd477bbfdd3c0dc54bacfd2d.png)
搜索二维矩阵[二分巧用 + 记录不同于插入二分的解法]

DDD概念复杂难懂,实际落地如何设计代码实现模型?

非凸联合创始人李佐凡:将量化作为自己的终身事业

"One good programmer is worth five ordinary programmers!"

百度语音合成语音文件并在网站中展示

Abnova BSG monoclonal antibody description in Chinese and English

AutoCAD - two extension modes
随机推荐
1. package your own scaffold 2 Create code module
海河实验室创新联合体成立 GBASE成为首批创新联合体(信创)成员单位
Pbcms adding cyclic digital labels
Fake wireless speakers in stores? Sony responded: the product has reserved a wired connection interface, which can be used in complex scenarios
创新药二级市场审饼疲劳:三期临床成功、产品获批也不管用了
mpls 笔记 part 1
最长连续序列[扩散法+空间换时间]
Texture enhancement
After integrating the aurora push plug-in in the uni app, the real machine debugging prompts "the currently running base does not contain the native plug-in [jg-jpush]..." Solutions to problems
Search two-dimensional matrix [clever use of bisection + record solution different from inserting bisection]
MySQL multi condition matching fuzzy query
Install mysql5.6 under linux64bit - the root password cannot be modified
pbcms添加循环数字标签
安超云:“一云多芯”支持国家信创政务云落地
Elastase instructions in Chinese and English
Abnova丨CSV 磁珠中英文说明
Unity C # e-learning (VI) -- FTP (I)
(CVPR 2020) Learning Object Bounding Boxes for 3D Instance Segmentation on Point Clouds
Some Modest Advice for Graduate Students - by Stephen C. Stearns, Ph.D.
JS array object to object