580 likes | 861 Views
Thomas Ye 触宝. 从 Cupcake 到 Jelly Bean —— android 兼容性开发. developer.android.com. Supporting Different Devices. 语言. 语言 屏幕. 语言 屏幕 Android 版本. 语言 屏幕 Android 版本 机型. 屏幕多分辨率支持. QVGA HVGA WVGA FWVGA FQVGA VGA ……. iPhone5 2012.9.13. wrap_content. wrap_content match_parent. dp dip sp. NinePatch.
E N D
ThomasYe 触宝 从Cupcake到JellyBean——android兼容性开发
ACTION_POINTER_1_DOWNACTION_POINTER_1_UPACTION_POINTER_2_DOWNACTION_POINTER_2_UPACTION_POINTER_3_DOWNACTION_POINTER_3_UPACTION_POINTER_ID(_MASK)ACTION_POINTER_1_DOWNACTION_POINTER_1_UPACTION_POINTER_2_DOWNACTION_POINTER_2_UPACTION_POINTER_3_DOWNACTION_POINTER_3_UPACTION_POINTER_ID(_MASK)
switch (type) {case INCOMING_TYPE://dosomethingbreak;caseOUTGOING_TYPE://dosomethingbreak;caseMISSED_TYPE://dosomethingbreak;}
switch (type) {case INCOMING_TYPE://dosomethingbreak;caseOUTGOING_TYPE://dosomethingbreak;caseMISSED_TYPE://dosomethingbreak;default:assertNotReached();}