安卓:什么是分辨率和密度之间的区别? [英] Android: what is the difference between resolution and density?

查看:180
本文介绍了安卓:什么是分辨率和密度之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据Android的定义,我发现:

according to Android definitions, i've found that:

解析:物理像素的屏幕上的总数

Resolution: The total number of physical pixels on a screen

密度:基于屏幕分辨率,像素在屏幕的物理宽度和高度的S $ P $垫

Density: Based on the screen resolution, the spread of pixels across the physical width and height of the screen.

任何人都可以帮助我更好地理解这两个定义之间的区别是什么?

Can anyone help me to understand better the differences between the two definitions?

在此先感谢 ℃。

推荐答案

解决方案是你可以有多少个像素在屏幕上显示。

Resolution 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.

这篇关于安卓:什么是分辨率和密度之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆