{"id":1463,"date":"2014-07-04T21:31:38","date_gmt":"2014-07-04T13:31:38","guid":{"rendered":"http:\/\/learn-house.idv.tw\/?p=1463"},"modified":"2015-08-25T10:34:49","modified_gmt":"2015-08-25T02:34:49","slug":"androidui%e7%9a%84multiple-screen%e8%a8%ad%e8%a8%88","status":"publish","type":"post","link":"https:\/\/learn-house.idv.tw\/?p=1463","title":{"rendered":"[Android]UI\u7684Multiple Screen\u8a2d\u8a08"},"content":{"rendered":"<p>\u4ee5\u524d\u7b2c\u4e00\u6b21\u505aAPP\u7684\u6848\u5b50\u6642\uff0c\u662fQA\u7684\u8173\u8272\uff0c\u4e00\u76f4\u90fd\u6709\u9047\u5230Android\u56e0\u70ba\u4e0d\u540c\u7684device\u6709\u4e0d\u540c\u7684resolution<\/p>\n<p>\u56e0\u6b64\u5728\u6e2c\u8a66\u7684\u6642\u5019\u90fd\u6703\u76e1\u91cf\u627e\u4e0d\u4e00\u6a23\u5927\u5c0f\u7684\u624b\u6a5f\u4f86\u6e2c\u8a66\uff0c\u4f46\u7e41\u5fd9\u7684\u5de5\u4f5c\u8b93\u6211\u4e00\u76f4\u6c92\u6709\u6642\u9593\u53bb\u77ad\u89e3\u8207\u601d\u8003 \u70ba\u4ec0\u9ebc?<\/p>\n<p>\u8d81\u73fe\u5728\u525b\u958b\u59cb\u5de5\u4f5c\u6c92\u591a\u4e45\uff0c\u6709\u6bd4\u8f03\u591a\u7684\u6642\u9593study\uff0c\u5c07\u9019\u5e7e\u5929\u95b1\u8b80Android Developer\uff0c\u4f5c\u4e00\u4e9b\u6574\u7406\u3002<\/p>\n<p>\u8cc7\u6599\u4f86\u6e90\uff1a<a href=\"http:\/\/developer.android.com\/design\/style\/metrics-grids.html\">http:\/\/developer.android.com\/design\/style\/metrics-grids.html<\/a><\/p>\n<p><!--more--><\/p>\n<p>\u70ba\u4e86\u7c21\u5316multiple screen\u7684\u8a2d\u8a08\uff0cAndroid\u4f7f\u7528<strong>size buckets<\/strong>\u548c<strong>density buckets<\/strong>\u4f86\u8a08\u7b97\u4e0d\u540c\u7684device\u3002<\/p>\n<p><strong>Size Buckets<\/strong>\u624b\u6301\u884c\u52d5\u88dd\u7f6e(handset)\u6703<strong>\u5c0f\u65bc<\/strong><strong>600dp<\/strong>\uff0c\u800c\u5e73\u677f(tablet)\u5247<strong>\u5927\u65bc\u7b49\u65bc<\/strong><strong>600dp<\/strong>\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/developer.android.com\/design\/media\/metrics_diagram.png\" alt=\"\" width=\"459\" height=\"248\" \/><\/p>\n<p><strong>Density Buckets<\/strong>\u5247\u6709<acronym>LDPI(Low,120dpi)<\/acronym>, <acronym>MDPI(Medium,160dpi)<\/acronym>, <acronym>HDPI(High,240dpi)<\/acronym>, <acronym>XHDPI(Extra High, 320dpi)<\/acronym>, <acronym>XXHDPI(480dpi)<\/acronym>, and <acronym>XXXHDPI(640dpi)<\/acronym>.<\/p>\n<p>\u5efa\u8b70\u7684Touch UI\u8a2d\u8a08\u70ba48dp\uff0c\u53ea\u70ba\u4ec0\u9ebc\u8981\u9019\u6a23\u8a2d\u8a08\u5462?\u96e3\u9053\u9019\u662f\u5e03\u6797\u3001\u4f69\u5409\u7684\u9ec3\u91d1\u6bd4\u4f8b?<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/developer.android.com\/design\/media\/metrics_48.png\" alt=\"\" width=\"535\" height=\"53\" \/><\/p>\n<p>\u539f\u4f86\u5e73\u574748db\u63db\u7b97\u6210\u5be6\u9ad4\u7684\u5927\u5c0f\u5927\u7d04\u662f9mm(\u6703\u96a8\u8457\u4e0d\u540c\u87a2\u5e55\u5927\u5c0f\u6709\u6240\u4e0d\u540c)\uff0c\u9019\u662f\u4e00\u822c\u4f7f\u7528\u9019\u4f7f\u7528touch screen\u611f\u89ba\u6bd4\u8f03\u8212\u9069\u7684\u5927\u5c0f\u7bc4\u570d\u5167(7-10mm)\uff0c\u6240\u4ee5Android\u5e0c\u671b\u76e1\u91cf\u4f7f\u7528\u9019\u7a2e\u9ec3\u91d1\u6bd4\u4f8b\u7684\u8a2d\u8a08\u65b9\u5f0f\u3002\u7bc4\u4f8b\u5982\u4e0b\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/developer.android.com\/design\/media\/metrics_closeup.png\" alt=\"\" width=\"459\" height=\"135\" \/><\/p>\n<p>\u5efa\u8b70\u6bcf\u500bUI\u7684space\u8ddd\u96e2\u662f8dp<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/developer.android.com\/design\/media\/metrics_forms.png\" alt=\"\" width=\"558\" height=\"390\" \/><\/p>\n<p>\u5176\u5be6\u770b\u5230\u9019\u88e1\uff0c\u6211\u9084\u662f\u4f3c\u61c2\u975e\u61c2\uff0c\u53ea\u662f\u4f3c\u4e4e\u6709\u4e00\u500b\u6982\u5ff5\u800c\u5df2\uff0c\u4f46\u662fdpi\u3001dp\u9084\u662f\u50bb\u50bb\u5206\u4e0d\u6e05\u695a\uff0c\u4e0d\u904eAndroid Developer\u6709\u66f4\u9032\u4e00\u6b65\u95dc\u65bc\u652f\u63f4Multiple Screens\u7684\u4ecb\u7d39\uff1ahttp:\/\/developer.android.com\/guide\/practices\/screens_support.html<\/p>\n<p>\u5728\u958b\u59cb\u524d\uff0c\u53ef\u80fd\u9700\u8981\u4e86\u89e3\u4e00\u4e0b\u4e0b\u9762\u7684\u5c08\u6709\u540d\u8a5e\u548c\u89c0\u5ff5\uff0c\u7531\u65bc\u6211\u52a0\u5165\u5f88\u591a\u6211\u8a8d\u70ba\u7684\u767d\u8a71\u8a9e\u89e3\u91cb\uff0c\u6709\u932f\u8acb\u6307\u6559\u3002<\/p>\n<p><strong> <em>Screen size<\/em><\/strong><br \/>\n\u87a2\u5e55\u5be6\u969b\u7684\u5927\u5c0f\uff0c\u6e2c\u91cf\u65b9\u5f0f\u662f\u4ee5\u659c\u5c0d\u89d2(diagonal)\u7684\u65b9\u5f0f\uff0c\u61c9\u8a72\u5c31\u662f\u6211\u5011\u4e00\u822c\u8aaa\u7684\u5e7e\u540b\u87a2\u5e55\u7684\u624b\u6a5f\uff0c\u50cf\u6211\u7684One S\u662f4.3\u540b\uff0c\u4e00\u822c\u5206\u6210small, normal, large, and extra large\u9019\u56db\u7a2e\u5927\u5c0f\u3002<\/p>\n<p><strong><em>Screen density<\/em><\/strong><br \/>\n\u5ea6\u91cf\u55ae\u4f4d\u662f<strong>dpi <\/strong>(dots per inch)\uff0c\u4e5f\u5c31\u662f\u6bcf\u4e00\u540b\u88e1\u6709\u5e7e\u500b\u9ede\uff0c\u4e5f\u53ef\u4ee5\u8aaa\u6709\u5e7e\u500bpixels\uff0c\u4e00\u822c\u5206\u6210low, medium, high, and extra high\u9019\u56db\u7a2e\u3002<\/p>\n<p><span style=\"color: #993300;\">\u88dc\u5145\uff1a<\/span>\u8a08\u7b97\u516c\u5f0f\u5982\u4e0b(2014.07.31)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/lh6.googleusercontent.com\/ez7rluxYrWdHO5eFYfG3qI87CnRUF7FlKuf9UGmQQvE=w446-h207-p-no\" alt=\"\" width=\"446\" height=\"207\" \/><\/p>\n<p>\u4ee5\u6211\u7684<a href=\"http:\/\/www.htc.com\/tw\/smartphones\/htc-one-s\/#\/\" target=\"_blank\">One S<\/a>\u4f86\u8aaa\uff0c4.3 \u540b AMOLED\uff0c\u89e3\u6790\u5ea6960 x 540 (qHD)\u5176dpi\u70ba<\/p>\n<p>sqrt(960^2+540^2)\/4.3\u00a0 = 256.1419&#8230;..\u00a0\u00a0\u00a0\u00a0\u00a0 \u4ecb\u65bchdpi(240)~xhdpi(320)\u4e4b\u9593\uff0c\u6240\u4ee5dpi\u662f240<\/p>\n<p>\u9019\u88e1ppi\u7ffb\u8b6f\u6210pixels per inch\u5176\u5be6\u662f\u8ddfdpi(dot per inch)\u662f\u4e00\u6a23\u7684\u3002<\/p>\n<p><strong><em>Orientation<\/em><\/strong><br \/>\n\u6307\u7684\u5c31\u662f\u76ee\u524d\u624b\u6a5f\u662f\u6a6b\u5411<em>(<\/em>landscape)\u9084\u662f\u76f4\u7acb(portrait)\u7684\u3002<\/p>\n<p><strong><em>Resolution<\/em><\/strong><br \/>\n\u6307\u7684\u5c31\u662f\u5be6\u969b\u4e00\u500bScreen\u4e0a\u7e3d\u5171\u6709\u591a\u5c11\u500bpixels\uff0c\u4f46APP\u8a2d\u8a08\u6642\u4e0d\u80fd\u76f4\u63a5\u7528resolution\u4f86\u8a2d\u8a08\uff0c\u9700\u8981\u7528screen size\u548cscreen density\u7684\u89d2\u5ea6\u4f86\u8003\u91cf\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>Density-independent pixel (dp)<\/em><\/strong><br \/>\n\u662f\u8a2d\u8a08UI layout\u6642\u6240\u4f7f\u7528\u7684\u4e00\u500b\u865b\u64ec\u7684pixel unit\uff0c\u7528\u4f86\u8868\u9054layout\u7684\u5c3a\u5bf8(dimensions)\u6216\u4f4d\u7f6e(position)\u3002<\/p>\n<p>density-independent pixel\u4ee3\u8868\u4e00\u500b\u5be6\u9ad4\u7684pixel\u5728160dpi\u7684screen\uff0c\u6240\u4ee5\u516c\u5f0f\u5982\u4e0b\uff1a<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #008000;\"><code>px = dp * (dpi \/ 160)<\/code><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u8209\u4f8b\u4f86\u8aaa\u4e00\u500b240dpi\u7684screen\uff0c1dp\u5c31\u7b49\u65bc1.5pixcel\uff0c\u7576\u5728\u8a2d\u8a08APP\u7684UI\u6642\uff0c\u8981\u6642\u6642\u523b\u523b\u4f7f\u7528dp\u4f86\u505a\u70ba\u8a2d\u8a08\u7684\u55ae\u4f4d\uff0c\u78ba\u4fdd\u4f60\u7684UI\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u5bc6\u5ea6\u4e0b\u505a\u5448\u73fe\u3002<\/p>\n<p><span style=\"color: #993300;\">\u88dc\u5145\uff1a<\/span>mdpi: 1px = 1dp; hdpi: 1.5px = 1dp; xhdpi: 2px = 1dp; xxhdpi: 3px = 1dp (2014.07.30)<\/p>\n<p><a href=\"https:\/\/lh6.googleusercontent.com\/OKJdUZxOPDB1PvwbH6qmovhlS8-vOsaCbNQPaLRfrOw=w698-h338-no\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/lh6.googleusercontent.com\/OKJdUZxOPDB1PvwbH6qmovhlS8-vOsaCbNQPaLRfrOw=w698-h338-no\" alt=\"\" width=\"523\" height=\"253\" \/><\/a><\/p>\n<p>\u8cc7\u6599\u4f86\u6e90\uff1a<a href=\"http:\/\/petrnohejl.github.io\/Android-Cheatsheet-For-Graphic-Designers\/\">http:\/\/petrnohejl.github.io\/Android-Cheatsheet-For-Graphic-Designers\/<\/a><\/p>\n<p>\u6211\u662f\u89ba\u5f97\u4e0d\u77e5\u9053\u662f\u4e0d\u662f\u53ef\u4ee5\u89e3\u91cb\u6210\u7121\u95dc\u5bc6\u5ea6\u7684\u610f\u601d\uff0c\u6709\u9ede\u985e\u4f3c\u628a\u76f8\u5c0d\u4f4d\u7f6e\u8b8a\u6210\u7d55\u5c0d\u4f4d\u7f6e\u3002<\/p>\n<p>\u6240\u4ee5\u7e3d\u7d50\u4e0a\u8ff0\u4e00\u4e9b\u89c0\u5ff5\uff1a<\/p>\n<p>\u70ba\u4e86\u89e3\u6c7a\u4e0d\u540cdevice\u6709\u4e0d\u540c\u7684\u87a2\u5e55\u5927\u5c0f\uff0c\u5f9eAndroid1.6(API Level 4)\u958b\u59cb\u652f\u63f4multiple screen\u7684<strong>size<\/strong>\u8207<strong>densities<\/strong>\u4f86\u5c0d\u61c9\u4e0d\u540c\u7684\u87a2\u5e55\u8a2d\u5b9a\uff0c\u56e0\u6b64\u5c31\u6709\u4ee5\u4e0b\u5169\u500b\u96c6\u5408(Set)<\/p>\n<p>&nbsp;<\/p>\n<p><strong>size<\/strong>\uff1asmall\u3001normal\u3001large\u548cxlarge<\/p>\n<p>\u8a3b\uff1a\u5f9eAndroid 3.2(API Level 13)\u958b\u59cb\u652f\u63f4\u5e73\u677f\uff0c\u56e0\u6b64\u5b9a\u7fa9\u53c8\u4e0d\u592a\u4e00\u6a23\uff0c\u53ef\u4ee5\u53c3\u95b1<a href=\"http:\/\/developer.android.com\/guide\/practices\/screens_support.html#DeclaringTabletLayouts\">Declaring Tablet Layouts for Android 3.2<\/a>\uff0c\u76ee\u524d\u5148\u91dd\u5c0dPhone\u7684\u90e8\u5206\u770b\uff0cTablet\u4ee5\u5f8c\u6709\u6642\u9593\u518d\u7814\u7a76\u3002<\/p>\n<p><strong>densities<\/strong>\uff1aldpi (low), mdpi (medium), hdpi (high), and xhdpi (extra high)<\/p>\n<p>\u4ee5\u4e0b\u662f\u4e00\u5f35\u5f88\u521d\u6dfa\u7684size\u548cdensities\u7684\u5c0d\u7167\u5716\uff0c\u4e0d\u662f\u7d55\u5c0d\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/developer.android.com\/images\/screens_support\/screens-ranges.png\" alt=\"\" width=\"533\" height=\"164\" \/><\/p>\n<p>\u4ee5\u4e0b\u5247\u662f\u6bcf\u500bsize\u76f8\u5c0d\u61c9\u7684dp<\/p>\n<ul>\n<li><em>xlarge<\/em> screens are at least 960dp x 720dp<\/li>\n<li><em>large<\/em> screens are at least 640dp x 480dp<\/li>\n<li><em>normal<\/em> screens are at least 470dp x 320dp<\/li>\n<li><em>small<\/em> screens are at least 426dp x 320dp<\/li>\n<\/ul>\n<p><span style=\"color: #993300;\">\u88dc\u5145\uff1a<\/span>\u624b\u6a5f\u3001\u5e73\u7248\u7684\u89e3\u6790\u5ea6(Resolution)\u548c\u5c3a\u5bf8(Inch)\u767e\u767e\u7a2e\uff0c\u600e\u6a23\u624d\u80fd\u5feb\u901f\u65b9\u4fbf\u4e4b\u9053\u4f60\u6e2c\u8a66\u7684\u8a2d\u5099\u662f\u5c6c\u65bc\u54ea\u7a2e?\u9019\u6642\u4f60\u5c31\u53ef\u4ee5\u4f7f\u7528Android\u63d0\u4f9b\u7684API\u4f86\u53d6\u5f97(2014.08.11)<\/p>\n<p>[java]<br \/>\nint width = getResources().getDisplayMetrics().widthPixels;   \/\/\u624b\u6a5f\u6216\u5e73\u677f\u7684\u5bec\u5ea6(pixel)<br \/>\nint height = getResources().getDisplayMetrics().heightPixels; \/\/\u624b\u6a5f\u6216\u5e73\u677f\u7684\u9ad8\u5ea6(pixel)<br \/>\nfloat density = getResources().getDisplayMetrics().density;   \/\/\u624b\u6a5f\u6216\u5e73\u677f\u7684\u5bc6\u5ea6<br \/>\nfloat dpi = getResources().getDisplayMetrics().densityDpi;    \/\/\u624b\u6a5f\u6216\u5e73\u677f\u7684dpi<br \/>\n[\/java]<\/p>\n<p>\u7b49\u6293\u5230\u6e2c\u8a66\u8a2d\u5099\u7684dpi\u5f8c\u5c31\u53ef\u4ee5\u76f4\u63a5\u5c0d\u7167\u4e0a\u97622014.7.30\u88dc\u5145\u7684\u90a3\u5f35\u5c0d\u7167\u8868\uff0c\u6216\u8005\u76f4\u63a5\u52a0\u5165\u4e0b\u5217\u7a0b\u5f0f\u76f4\u63a5\u5370\u51fa<\/p>\n<p>[java]<br \/>\nif(dpi &lt; 160){<br \/>\n\t\/\/\u6b64\u70ba\uff1a ldpi<br \/>\n} else if (mDpi &lt; 240){<br \/>\n\t\/\/\u6b64\u70ba\uff1a mdpi<br \/>\n} else if (mDpi &lt; 320){<br \/>\n\t\/\/\u6b64\u70ba\uff1a hdpi<br \/>\n} else if (mDpi &lt; 480){<br \/>\n\t\/\/\u6b64\u70ba\uff1a xhdpi<br \/>\n} else {<br \/>\n\t\/\/\u6b64\u70ba\uff1a xxhdpi<br \/>\n}<br \/>\n[\/java]<\/p>\n<p>\u6700\u5f8c\uff0c\u958b\u767c\u7684\u6642\u5019\u8981\u9867\u5230\u76ee\u524d\u6700\u591a\u4eba\u4f7f\u7528\u7684Android\u7248\u672c\uff0c\u56e0\u6b64\u5b98\u65b9\u63d0\u4f9b\u4e00\u500b\u96a8\u6642\u53ef\u4ee5\u770b\u76ee\u524dAndroid\u7248\u672c\u7684\u5206\u5e03\u72c0\u6cc1(2014.08.22)<br \/>\n<a href=\"http:\/\/developer.android.com\/about\/dashboards\/index.html\">http:\/\/developer.android.com\/about\/dashboards\/index.html<\/a><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/chart.googleapis.com\/chart?cht=p&amp;chs=500x250&amp;chl=Froyo%7CGingerbread%7CIce%20Cream%20Sandwich%7CJelly%20Bean%7CKitKat&amp;chd=t%3A0.7%2C13.6%2C10.6%2C54.2%2C20.9&amp;chf=bg%2Cs%2C00000000&amp;chco=c4df9b%2C6fad0c\" alt=\"\" width=\"500\" height=\"250\" \/><\/p>\n<p>\u4ee5\u53ca\u4e0d\u540c\u7684resolution\u4f7f\u7528\u5206\u5e03\u60c5\u5f62<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/chart.googleapis.com\/chart?cht=p&amp;chs=400x250&amp;chl=Xlarge%7CLarge%7CNormal%7CSmall&amp;chd=t%3A4.3%2C7.4%2C80.9%2C7.4&amp;chf=bg%2Cs%2C00000000&amp;chco=c4df9b%2C6fad0c\" alt=\"\" width=\"400\" height=\"250\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/chart.googleapis.com\/chart?cht=p&amp;chs=400x250&amp;chl=ldpi%7Cmdpi%7Ctvdpi%7Chdpi%7Cxhdpi%7Cxxhdpi&amp;chd=t%3A7.9%2C19.6%2C1.6%2C36.4%2C19.3%2C15.2&amp;chf=bg%2Cs%2C00000000&amp;chco=c4df9b%2C6fad0c\" alt=\"\" width=\"400\" height=\"250\" \/><\/p>\n<p>\u50cf\u6211Android SDK\u5c31\u53ea\u5b89\u88dd\u6700\u591a\u4eba\u4f7f\u7528\u7684\u90a3\u5e7e\u500b\u7248\u672c\uff0c\u800c\u4e0d\u662f\u5168\u90e8\u90fd\u88dd&#8230;.<br \/>\n\u800c\u4e14\u7531\u4e0a\u5716\u53ef\u4ee5\u89c0\u5bdf\u5230Normal(3\u540b\u52305\u540b)\u7684\u624b\u6a5f\u4f3c\u4e4e\u9084\u662f\u4f54\u6bd4\u8f03\u591a\u6578\uff0c\u4e14\u89e3\u6790\u5ea6\u4f3c\u4e4e\u5e73\u5747\u843d\u5728mdpi, hdpi, xhdpi, xxhdpi\u4e4b\u9593<br \/>\n\u56e0\u6b64\u5728\u88fd\u4f5cimages\u6642\uff0c\u5c31\u5fc5\u9808\u8003\u616e\u9019\u5e7e\u7a2e\u89e3\u6790\u5ea6\u7684\u5716\u7247\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u524d\u7b2c\u4e00\u6b21\u505aAPP\u7684\u6848\u5b50\u6642\uff0c\u662fQA\u7684\u8173\u8272\uff0c\u4e00\u76f4\u90fd\u6709\u9047\u5230Android\u56e0\u70ba\u4e0d\u540c\u7684device\u6709\u4e0d\u540c\u7684resolu<span class=\"post-excerpt-end\">&hellip;<\/span><\/p>\n<p class=\"more-link\"><a href=\"https:\/\/learn-house.idv.tw\/?p=1463\" class=\"themebutton\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1463","post","type-post","status-publish","format-standard","hentry","category-5"],"_links":{"self":[{"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/1463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1463"}],"version-history":[{"count":0,"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/1463\/revisions"}],"wp:attachment":[{"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}