PX DPI PPI等概念
来源:互联网 发布:如何在淘宝上开好网店 编辑:程序博客网 时间:2024/05/18 16:14
PX
pixel,像素点,就是屏幕中最小的显示单位,放大看屏幕可以看出来就是由一个个发光的点组成的。
DPI
Dots Per Inch
PPI
Pixels Per Inch,开发中几乎可以跟DPI等同
Dots per inch (DPI, or dpi)[1] is a measure of spatial printing or video dot density, in particular the number of individual dots that can be placed in a line within the span of 1 inch (2.54 cm).
Monitors do not have dots, but do have pixels; the closely related concept for monitors and images is pixels per inch or PPI. Many resources, including the Android developer guide, use the terms DPI and PPI interchangeably.
DP/DIP
Density-independent Pixels
px=dp*(dpi/160)
与像素密度无关的的单位,应为Android的设备尺寸实在太多了,像素密度差别也会很大,因此有了dp这个与像素密度无关的单位。
SP
Scale-independent Pixels - this is like the dp unit, but it is also scaled by the user’s font size preference. It is recommend you use this unit when specifying font sizes, so they will be adjusted for both the screen density and user’s preference.
类似于dp,给字体用的
- PX DPI PPI等概念
- Android中px, ppi, dpi, dp, dip, sp概念解析
- 关于DPI、DP、PX等概念
- Android dpi dp ppi概念
- dp, dpi, ppi, sp, px 详细介绍
- UI设计学习--PPI、DPI、PX、DP
- dpi ppi px pt dp sp区别
- dp、sp、px、dpi、ppi、pt详解
- 浅谈dp px ppi dpr dpi
- 分辨率 PPI DPI概念定义详解
- android UI中常用的几个概念:dp,dip,dpi,sp,px,pt,ppi及它们之间的关联
- Android系统版本以及屏幕相关参数的获取包括长宽,物理尺寸,px,dp,dpi,ppi等,
- px,pt,ppi,dpi,dp,sp,em,rem,vw和vh等css中常用长度之间区别总结
- 关于px,em,pt,ppi,dpi,dp,dip和sp
- DPI/PPI/dp/sp/px/pt 移动设计手册
- 关于android中的px,dpi,ppi,pt,sp
- 像素,分辨率,以及点,px ,pt ,PPI ,DPI
- 科普dip,dp,sp,dpi,ppi,px,Density
- swift 点击空白键盘下去
- 三个水杯-简单bfs
- poj 2367 前向星+拓扑排序
- Ubuntu 下安装 Google Chrome
- 手机开发实战152——JPEG介绍3
- PX DPI PPI等概念
- 某NOIP模拟考试——2016.06.12
- 手机开发实战153——GIF介绍1
- Codeforces Round #311 (Div. 2) A~E && DE题解
- <meta>标签用法
- IE办的傻事儿 Exploiting XSS Filter
- Bootstrap缩略图thumbnail
- 二维码知多少
- 手机开发实战154——GIF介绍2