魅力程序猿

  • 首页
  • Java
  • Android
  • APP
    • 扑克计分器
    • Video Wallpaper
  • 联系我
  • 关于我
  • 资助
dpi
Android

Android面试题3--常用单位dp、sp、in、dpi...

Android常用单位: 1.in(英寸)屏幕尺寸: 指实际的物理尺寸,为屏幕对角线的测量。一般讲的大小单位都是英寸,比如iPhone7的屏幕尺寸是4.7英寸。 2.px像素(pixel): 屏幕上的点,基本原色素及其灰度的基本编码。 3.分辨率(Resolution): 是指屏幕上垂直方向和水平方向上的像素个数。(比如iPhone7的分辨率是1334*750) 4.dpi(dot per inch): 就是每英寸的像素数,也叫做屏幕密度。这个值越大,屏幕就越清晰。 Inch是一个物理单位(无论在任何设备上,其大小…

2016年11月21日 2条评论 7958点热度 0人点赞 daozi 阅读全文
搜索
联系方式

QQ群:179730949
QQ群:114559024
欢迎您加入Android大家庭
本人QQ:136049925

赐我一丝安慰
给我一点鼓励

最新 热点 随机
最新 热点 随机
AI Agent 工作原理 AI Agent 术语 AI Agent 核心组件 AI Agent 简介 Android 开发 VectorDrawable 矢量图 安兔兔龙虾评测
Android的Messenger Android的ContentProvider 解决:Unable to execute dex: GC overhead limit exceeded JVM和Android的Dalvik与ART How to resolve “You need to have Ruby and Sass installed and in your PATH for this task to work” Warning? Android的消息处理机制(Looper,Handler,MessageQueue,Message)
最近评论
宝宝 发布于 9 年前(02月27日) 哈哈哈哈
GPU Mining 发布于 9 年前(02月19日) I am just starting to learn about all of this. Tha...
Timothynix 发布于 9 年前(02月08日) Your place is valueble for me. Thanks!… http:...
xing1982 发布于 9 年前(02月04日) 不错不错!内容感觉好极了!
additional info 发布于 9 年前(01月28日) I just want to mention I am just new to weblog and...

近期文章

  • AI Agent 工作原理
  • AI Agent 术语
  • AI Agent 核心组件
  • AI Agent 简介
  • Android 开发 VectorDrawable 矢量图

近期评论

  1. Google 发表在 NDK工程运行出错1
  2. Google 发表在 Android面试题6–BroadcastReceiver(广播)
  3. Google 发表在 Android 官方开发语言之 Kotlin
  4. Google 发表在 揭秘Android录屏暂停技术
  5. Google 发表在 解决:Unable to execute dex: GC overhead limit exceeded

COPYRIGHT © 2023 魅力程序猿. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

豫ICP备15000477号