一些术语
IME
—-Input Method Editor 也就是常说的“输入法”
Screen size
—-Actual physical size, measured as the screen’s diagonal
Resolution
—-The total number of physical pixels on a screen. Note that, although resolution is often expressed as width
x height
, resolution does not imply a specific aspect ratio.
Density
—-Based on the screen resolution, the spread
of pixels across the physical width and height of the screen. A screen
with lower density has fewer available pixels spread across the screen
width and height, where a screen with higher density has more —
sometimes significantly more — pixels spread across the same area. The
density of a screen is important because, other things being equal, a UI
element (such as a button) whose height and width are defined in terms
of screen pixels will appear larger on the lower density screen and
smaller on the higher density screen. 像素密度=像素总数/屏幕面积
Density independent pixel (dip)
—-
A virtual pixel unit that applications can use in defining their UI,
to express layout dimensions or position in a density-independent way.
The density-independent pixel is equivalent to one physical pixel on a
160 dpi screen, the baseline density assumed by the platform. At run time, the platform
transparently handles any scaling of the dip units needed, based on the
actual density of the screen in use. The conversion of dip units to
screen pixels is simple: pixels = dips * (density / 160)
.
For example, on 240 dpi screen, 1 dip would equal 1.5 physical pixels.
Using dip units to define your application’s UI is highly recommended,
as a way of ensuring proper display of your UI on different screens.
VGA(Video Graphics Array)
—-是IBM在1987年随PS/2机一起推出的一种视频传输标准。在手机屏幕中意思只表示指手机的分辨率,与手机液晶屏幕的TFT材质和手机屏幕大小尺寸都没有
关系。
VGA是640*480像素
QQVGA(Quarter Quarter VGA)—-160*120像素
QVGA(Quarter VGA)—-VGA的四分之一尺寸 320*240像素
WQVGA(Wide Quarter VGA)—-400*240像素
HVGA(Half-size VGA)—-VGA的一半 320*480像素
WVGA(Wide VGA)—-800*480像素
SVGA(Super VGA)—-800*600像素
XGA(Extended Graphics Array)—-1024*768像素
WXGA(Wide eXtended Graphics Array)—-1280*768像素
Quad-VGA—-1280*960像素
WXGA+(Wide XGA+)—-1440*900像素
SXGA(Super XGA)—-1280*1024像素
WXGA++(Wide XGA++)—-1600*900像素
SXGA+(Super XGA+)—-1400*1050像素—-我的本本就是这个像素!
UXGA(Ultra XGA)—-1600*1200像素
WUXGA(Wide Ultra XGA)—-1920*1200像素
QXGA(Quad XGA)—-2048*1536像素
QSXGA(Quad Super XGA)—-2560*2048像素
同样的分辨率,屏幕越小,显示越细腻。
分享到:
相关推荐
Android应用开发的哲学是把一切都看作是组件。把应用程序组件化的好处是降低模块间的耦合性,同时提高模块的复用性。Android的组件设计思想与传统的组件设计思想最大的区别在于,前者不依赖于进程。也就是说,进程...
----------------------------------- Android 编程基础 1 封面----------------------------------- Android 编程基础 2 开放手机联盟 --Open --Open --Open --Open Handset Handset Handset Handset Alliance ...
《Android框架揭秘》通过对Android系统源代码的分析,主要介绍Android框架的初始化过程及主要组件的工作原理。作者直接分析和整理了Android框架的主要源代码,并详细讲解了理解框架工作原理所需的各种基础知识和构成...
第2篇为应用开发篇,通过实例介绍了Android UI布局、Android人机界面、手机硬件设备的使用、Android本地存储系统、Android中的数据库、多线程设计、Android传感器、Android游戏开发基础、Android与Internet,以及...
源码里面有Bluetooth4_3/BLEDemo/Android_Lightblue.apk三个.前两个是BLE的demo。BLEDemo这个功能较Bluetooth4_3多一些,有兴趣的可以都看下。Android_Lightblue.apk是Android版的lightblue,在进行ble开发的时候用...
Android 4.3才开始支持BLE API,所以请各位客官把本文代码运行在蓝牙4.0和Android 4.3及其以上的系统,另外本文所用的BLE终端是一个蓝牙4.0的串口蓝牙模块。 PS:我的i9100刷了4.4系统后,竟然也能跟BLE蓝牙模块通信...
使用: export ANDROID_HOME="/opt/android-...# mv /opt/android-sdk/platforms/android-8.0.0 /opt/android-sdk/platforms/android-26 官网下载地址:https://dl.google.com/android/repository/platform-26_r01.zip
# mv /opt/android-sdk/platforms/android-25/android-7.1.1/* /opt/android-sdk/platforms/android-25/ # rm -rf /opt/android-sdk/platforms/android-25/android-7.1.1 官网下载地址:...
Android support.v7包
第1章“Android系统概述”,概述Android系统方面的内容,包括智能手机平台的发展历程、Android系统的特点、Android的3种开发工作,以及Android的2种不同的开发方式。 第2章“Android系统开发综述”,介绍Android...
android 经典代码例子,若干个。。。。
《Android平台开发之旅(第2版)》涵盖Android 3/4的新特性,立足实际的开发案例,介绍了Android平台开发的基础概念、实用技术和应用模式。主要内容包括应用程序框架、高级界面、数据库应用、网络通信与Web开发、无线...
《C#开发Android应用实战——使用Mono for Android和.NET/C# 全面透彻地讲解Android应用编程知识,分析如何结合使用C#和Mono来编写在Android设备系列上运行的应用程序。在这本由多位专家联袂撰写的必备精品书籍的...
最近在网络上看到有网友抱怨Android游戏源码找不到,所以小弟收集了一些AndEngine和Libgdx的游戏源码,以Eclipse工程的形式配置好环境,再陆续发出(某引擎避嫌,不在此列)。 虽说主要是由Libgdx与AndEngine开发的...
调用服务器的webservice接口,实现从Android上传图片到服务器,然后从服务器下载图片到Android客户端 从Android端用io流读取到要上传的图片,用Base64编码成字节流的字符串,通过调用webservice把该字符串作为参数...
在Android应用程序中,有一类特殊的消息,是专门负责与用户进行交互的,它们就是触摸屏和键盘等输入事件。触摸屏和键盘事件是统一由系统输入管理器InputManager进行分发的。也就是说,InputManager负责从硬件接收...
全书共分11章,主要以范例集的方式来讲述android的知识点,详细介绍了开发android的人机交互界面、android常用的开发控件、android手机收发短信等通信服务、开发android手机的自动服务功能和娱乐多媒体功能以及...
• Android 开发之旅:android架构 • Android 开发之旅:应用程序基础及组件 • Android 开发之旅:应用程序基础及组件(续) • Android 开发之旅:活动与任务 • Android 开发之旅:进程与线程 • Android ...