Graphic size in Android
来源:互联网 发布:unlocker软件流氓 编辑:程序博客网 时间:2024/05/17 06:03
Dimension
A dimension value defined in XML. A dimension is specified with a number followed by a unit of measure. For example: 10px, 2in, 5sp. The following units of measure are supported by Android:
dp
- Density-independent Pixels - an abstract unit that is based on the physical density of the screen. These units are relative to a 160 dpi screen, so one dp is one pixel on a 160 dpi screen. The ratio of dp-to-pixel will change with the screen density, but not necessarily in direct proportion. The compiler accepts both "dip" and "dp", though "dp" is more consistent with "sp".
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 the user's preference.
pt
- Points - 1/72 of an inch based on the physical size of the screen.
px
- Pixels - corresponds to actual pixels on the screen. This unit of measure is not recommended because the actual representation can vary across devices; each devices may have a different number of pixels per inch and may have more or fewer total pixels available on the screen.
mm
- Millimeters - based on the physical size of the screen.
in
- Inches - based on the physical size of the screen.
- Graphic size in Android
- (4)graphic resources in android
- Graphic --- Android
- Android object size in Dalvik
- Latex error:cannot determine size of graphic
- Get the screen size in Android
- android.graphic.Path
- android graphic笔记
- Android Graphic Stacks
- android graphic classes
- Android 4.4 Graphic Architecture
- Android Graphic :OpenGL|ES
- Android Graphic - Overview
- Android Graphic 翻译系列
- Android 4.4 Graphic Architecture
- Android 4.4 Graphic Architecture
- Android Graphic SurfaceFlinger 疑难解答
- Android Graphic SurfaceFlinger分析
- 一个北京妞儿写的。太牛逼了。都进来瞅瞅-------------|
- 我认了
- 搜索引擎营销
- JSP中引入时间控件
- 陈志武《金融的逻辑》
- Graphic size in Android
- php单例模式
- 部分常用网址
- 无线EAD解决方案
- 使用live writer向csdn发表博客文章
- [翻译]ASP.NET MVC
- ODS端装载DLL失败,上送报文中SERVICEID可能不正确 SERVICEID:A023115.dll
- oracle 存储过程的基本语法 及注意事项
- 有关ZwRriteFile()在XP上正常 与2003下蓝屏的问题