上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 26 下一页
  2011年8月18日
摘要: /Files/cappuccino/ContactPicker.rar 阅读全文
posted @ 2011-08-18 20:19 陈孝勇 阅读(143) 评论(0) 推荐(0) 编辑
  2011年8月13日
摘要: When you request a resource for which you provide alternatives, Android selects which alternative resource to use at runtime, depending on the current device configuration. To demonstrate how Android selects an alternative resource, assume the following drawable directories each contain different ve 阅读全文
posted @ 2011-08-13 21:04 陈孝勇 阅读(392) 评论(0) 推荐(1) 编辑
摘要: There is a 3:4:6:8 scaling ratio between the four primary densities (ignoring the tvdpi density). So, a 9x9 bitmap in ldpi is 12x12 in mdpi, 18x18 in hdpi and 24x24 in xhdpi.If you decide that your image resources don't look good enough on a television or other certain devices and want to try tv 阅读全文
posted @ 2011-08-13 02:25 陈孝勇 阅读(191) 评论(0) 推荐(0) 编辑
摘要: portland square -->port: Device is in portrait orientation (垂直)land: Device is in landscape orientation (水平) 阅读全文
posted @ 2011-08-13 02:21 陈孝勇 阅读(206) 评论(0) 推荐(0) 编辑
摘要: android:largestWidthLimitDp This attribute allows you to force-enable screen compatibility mode by specifying the maximum "smallest width" that your application supports. If the smallest side of a device's available screen is greater than your value here, the application runs in screen 阅读全文
posted @ 2011-08-13 02:09 陈孝勇 阅读(221) 评论(0) 推荐(0) 编辑
摘要: smallestWidthsw<N>dpExamples:sw320dpsw600dpsw720dpetc. Some values you might use here for common screen sizes:320, for devices with screen configurations such as: 240x320 ldpi (QVGA handset)320x480 mdpi (handset)480x800 hdpi (high density handset)480, for screens such as 480x800 mdpi (tablet/h 阅读全文
posted @ 2011-08-13 02:05 陈孝勇 阅读(414) 评论(0) 推荐(0) 编辑
  2011年8月12日
摘要: 代码如下:/Files/cappuccino/HelloWorld.zip 教程:/Files/cappuccino/iphone_hellow.rar 阅读全文
posted @ 2011-08-12 21:31 陈孝勇 阅读(182) 评论(0) 推荐(0) 编辑
  2011年8月11日
摘要: Converting dp units to pixel unitsIn some cases, you will need to express dimensions in dp and then convert them to pixels. Imagine an application in which a scroll or fling gesture is recognized after the user's finger has moved by at least 16 pixels. On a baseline screen, a user's must mov 阅读全文
posted @ 2011-08-11 21:48 陈孝勇 阅读(514) 评论(0) 推荐(0) 编辑
摘要: http://developer.android.com/resources/dashboard/screens.html 阅读全文
posted @ 2011-08-11 21:45 陈孝勇 阅读(135) 评论(0) 推荐(0) 编辑
摘要: android中size small:normal:large:xlarge=3:4:6:8 阅读全文
posted @ 2011-08-11 20:39 陈孝勇 阅读(188) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 26 下一页