{"id":140,"date":"2017-04-15T14:01:25","date_gmt":"2017-04-15T06:01:25","guid":{"rendered":"http:\/\/av16874667.imwork.net:13582\/?p=140"},"modified":"2017-04-15T14:01:25","modified_gmt":"2017-04-15T06:01:25","slug":"android-coordinatorlayout%e7%9a%84%e5%88%9d%e6%ad%a5%e7%94%a8%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.dd-home.top\/?p=140","title":{"rendered":"Android CoordinatorLayout\u7684\u521d\u6b65\u7528\u6cd5"},"content":{"rendered":"<p><!--more--><\/p>\n<p><strong>1.\u7b80\u5355\u7528\u6cd5,\u7c7b\u4f3c\u4e8eScrollView,\u53ef\u4ee5\u4e3a\u5176\u5b83\u63a7\u4ef6\u8ba9\u51fa\u7a7a\u95f4,\u7ed3\u5408Snackbar<\/strong><\/p>\n<p>a.\u5e03\u5c40\u6587\u4ef6<\/p>\n<pre>&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\n&lt;android.support.design.widget.CoordinatorLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\n \u00a0 \u00a0xmlns:tools=\"http:\/\/schemas.android.com\/tools\"\n \u00a0 \u00a0android:layout_width=\"match_parent\"\n \u00a0 \u00a0android:layout_height=\"match_parent\"\n \u00a0 \u00a0tools:context=\"date.dingqs.coordinatorlayout.MainActivity\"&gt;\n\n \u00a0 \u00a0&lt;android.support.design.widget.FloatingActionButton\n \u00a0 \u00a0 \u00a0 \u00a0android:id=\"@+id\/fab\"\n \u00a0 \u00a0 \u00a0 \u00a0android:layout_width=\"wrap_content\"\n \u00a0 \u00a0 \u00a0 \u00a0android:layout_height=\"wrap_content\"\n \u00a0 \u00a0 \u00a0 \u00a0android:layout_gravity=\"end|bottom\"\n \u00a0 \u00a0 \u00a0 \u00a0android:layout_margin=\"16dp\"\n \u00a0 \u00a0 \u00a0 \u00a0android:src=\"@mipmap\/ic_launcher\" \/&gt;\n&lt;\/android.support.design.widget.CoordinatorLayout&gt;<\/pre>\n<p>b.\u4ee3\u7801\u6587\u4ef6<\/p>\n<pre>public\u00a0class\u00a0MainActivity\u00a0extends\u00a0AppCompatActivity\u00a0{\n\n\u00a0\u00a0\u00a0\u00a0@Override\n\u00a0\u00a0\u00a0\u00a0protected\u00a0void\u00a0onCreate(Bundle\u00a0savedInstanceState)\u00a0{\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0super.onCreate(savedInstanceState);\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0setContentView(R.layout.activity_main);\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0findViewById(R.id.fab).setOnClickListener(new\u00a0View.OnClickListener()\u00a0{\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0@Override\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0public\u00a0void\u00a0onClick(View\u00a0view)\u00a0{\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Snackbar.make(view,\"FAB\",\u00a0Snackbar.LENGTH_LONG)\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0.setAction(\"cancel\",\u00a0new\u00a0View.OnClickListener()\u00a0{\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0@Override\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0public\u00a0void\u00a0onClick(View\u00a0v)\u00a0{\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\/\u8fd9\u91cc\u7684\u5355\u51fb\u4e8b\u4ef6\u4ee3\u8868\u70b9\u51fb\u6d88\u9664Action\u540e\u7684\u54cd\u5e94\u4e8b\u4ef6\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}).show();\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0});\n\u00a0\u00a0\u00a0\u00a0}\n}<\/pre>\n<p>c.\u6548\u679c\u56fe<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"1462254031990095838.png\" src=\"https:\/\/www.dingqs.date\/ueditor\/jsp\/upload\/image\/20160503\/1462254031990095838.png\" alt=\"1462254031990095838.png\" width=\"480\" height=\"800\" border=\"0\" vspace=\"0\" \/><\/p>\n<p><strong>2.\u548cToolbar\u53caNestedScrollView \u7684\u7ed3\u5408\u4f7f\u7528,\u4f5c\u4e3a\u5185\u5bb9\u7684\u6eda\u52a8<\/strong><\/p>\n<p>a.\u5e03\u5c40\u6587\u4ef6<\/p>\n<p>Toolbar\u4e2d\u9700\u8981\u6dfb\u52a0\u5982\u4e0b,\u4f5c\u4e3a\u6298\u53e0\u7684\u5185\u5bb9<\/p>\n<pre>app:layout_scrollFlags=\"scroll|enterAlways\"<\/pre>\n<p>\u9700\u8981\u6eda\u52a8\u7684\u5185\u5bb9\u4e2d\u6dfb\u52a0\u5982\u4e0b,\u6eda\u52a8\u65f6\u65b9\u53ef\u6298\u53e0<\/p>\n<pre>app:layout_behavior=\"@string\/appbar_scrolling_view_behavior\"<\/pre>\n<p>&nbsp;<\/p>\n<p>\u90e8\u5206\u9700\u8981\u9700\u8981\u6eda\u52a8\u7684View\u7528NestedScrollView\u5305\u88f9<\/p>\n<pre>&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\n&lt;android.support.design.widget.CoordinatorLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\n \u00a0 \u00a0xmlns:app=\"http:\/\/schemas.android.com\/apk\/res-auto\"\n \u00a0 \u00a0xmlns:tools=\"http:\/\/schemas.android.com\/tools\"\n \u00a0 \u00a0android:layout_width=\"match_parent\"\n \u00a0 \u00a0android:layout_height=\"match_parent\"\n \u00a0 \u00a0tools:context=\"date.dingqs.coordinatorlayout.MainActivity\"&gt;\n\n \u00a0 \u00a0&lt;android.support.design.widget.AppBarLayout\n \u00a0 \u00a0 \u00a0 \u00a0android:layout_width=\"match_parent\"\n \u00a0 \u00a0 \u00a0 \u00a0android:layout_height=\"wrap_content\"&gt;\n\n \u00a0 \u00a0 \u00a0 \u00a0&lt;android.support.v7.widget.Toolbar\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0android:id=\"@+id\/tb\"\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0android:layout_width=\"match_parent\"\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0android:layout_height=\"?attr\/actionBarSize\"\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0app:layout_scrollFlags=\"scroll|enterAlways\"&gt;\n\n \u00a0 \u00a0 \u00a0 \u00a0&lt;\/android.support.v7.widget.Toolbar&gt;\n\n \u00a0 \u00a0 \u00a0 \u00a0&lt;android.support.design.widget.TabLayout\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0android:background=\"@android:color\/darker_gray\"\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0android:id=\"@+id\/tabs\"\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0android:layout_width=\"match_parent\"\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0android:layout_height=\"wrap_content\" \/&gt;\n\n \u00a0 \u00a0&lt;\/android.support.design.widget.AppBarLayout&gt;\n\n \u00a0 \u00a0&lt;android.support.v4.widget.NestedScrollView\n \u00a0 \u00a0 \u00a0 \u00a0android:layout_width=\"match_parent\"\n \u00a0 \u00a0 \u00a0 \u00a0android:layout_height=\"match_parent\"\n \u00a0 \u00a0 \u00a0 \u00a0app:layout_behavior=\"@string\/appbar_scrolling_view_behavior\"&gt;\n\n \u00a0 \u00a0 \u00a0 \u00a0&lt;LinearLayout\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0android:layout_width=\"match_parent\"\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0android:layout_height=\"wrap_content\"\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0android:orientation=\"vertical\"&gt;\n\n\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0&lt;TextView\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0android:layout_width=\"match_parent\"\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0android:layout_height=\"wrap_content\"\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0android:text=\"4\u670824\u65e5\u4e0b\u5348\uff0c\u4e2d\u5171\u4e2d\u592e\u603b\u4e66\u8bb0\u3001\u56fd\u5bb6\u4e3b\u5e2d\u3001\u4e2d\u592e\u519b\u59d4\u4e3b\u5e2d\u4e60\u8fd1\u5e73\u5728\u516d\u5b89\u5e02\u91d1\u5be8\u53bf\u82b1\u77f3\u4e61\u5927\u6e7e\u6751\u6751\u6c11\u9648\u6cfd\u7533\u5bb6\u540c\u6751\u6c11\u4eec\u4eb2\u5207\u4ea4\u6d41\u3002\u8bb0\u8005\u5f90\u56fd\u5eb7\u6444\n\u3000\u3000\u4e60\u8fd1\u5e73\u6307\u51fa\uff0c\u73b0\u5728\uff0c\u5b89\u5fbd\u53d1\u5c55\u5df2\u7ecf\u7ad9\u5728\u65b0\u7684\u5386\u53f2\u8d77\u70b9\u4e0a\u3002\u5b89\u5fbd\u63a8\u52a8\u7eff\u8272\u53d1\u5c55\u3001\u4f4e\u78b3\u53d1\u5c55\u6709\u57fa\u7840\uff0c\u63a8\u52a8\u6df1\u5316\u6539\u9769\u3001\u5185\u9646\u5f00\u653e\u6709\u95ef\u52b2\uff0c\u5b9e\u65bd\u521b\u65b0\u9a71\u52a8\u3001\u4ea7\u4e1a\u5347\u7ea7\u6709\u4f18\u52bf\uff0c\u53ea\u8981\u4ee5\u9489\u9489\u5b50\u7cbe\u795e\u5e72\uff0c\u518d\u63a5\u518d\u5389\u3001\u4e0d\u9a84\u4e0d\u8e81\u3001\u594b\u529b\u62fc\u640f\uff0c\u5728\u4e2d\u90e8\u5d1b\u8d77\u4e2d\u524d\u666f\u53ef\u671f\u3002\u5e0c\u671b\u5b89\u5fbd\u8fdb\u4e00\u6b65\u89e3\u653e\u601d\u60f3\u3001\u771f\u6293\u5b9e\u5e72\u3001\u5f00\u62d3\u521b\u65b0\uff0c\u5728\u4e2d\u90e8\u5d1b\u8d77\u4e2d\u95ef\u51fa\u65b0\u8def\u3001\u521b\u9020\u7f8e\u597d\u524d\u666f\u3002\n\u3000\u3000\u82b3\u83f2\u56db\u6708\uff0c\u5343\u91cc\u6c5f\u6dee\u8349\u957f\u83ba\u98de\uff0c\u4e00\u6d3e\u751f\u673a\u84ec\u52c3\u666f\u8c61\u3002\n\u3000\u30004\u670824\u65e5\u81f327\u65e5\uff0c\u4e2d\u5171\u4e2d\u592e\u603b\u4e66\u8bb0\u3001\u56fd\u5bb6\u4e3b\u5e2d\u3001\u4e2d\u592e\u519b\u59d4\u4e3b\u5e2d\u4e60\u8fd1\u5e73\u4eb2\u4e34\u5b89\u5fbd\u8003\u5bdf\u5de5\u4f5c\u3002\u8fd9\u662f\u5bf9\u5b89\u5fbd\u53d1\u5c55\u7684\u9ad8\u5ea6\u91cd\u89c6\uff0c\u662f\u5bf9\u5b89\u5fbd\u4eba\u6c11\u7684\u4eb2\u5207\u5173\u6000\uff01\u4ece\u5927\u6c5f\u5357\u5317\u5230\u6dee\u6cb3\u4e24\u5cb8\uff0c7000\u4e07\u6c5f\u6dee\u513f\u5973\u6b22\u6b23\u9f13\u821e\u3001\u65e0\u6bd4\u632f\u594b\uff01\n\u3000\u3000\u6574\u65743\u5929\u534a\uff0c\u4e60\u8fd1\u5e73\u603b\u4e66\u8bb0\u4e0d\u8f9e\u8f9b\u82e6\uff0c\u98ce\u5c18\u4ec6\u4ec6\uff0c\u8f97\u8f6c\u516d\u5b89\u3001\u6ec1\u5dde\u3001\u5408\u80a5\u7b49\u5730\uff0c\u6df1\u5165\u519c\u6751\u3001\u4f01\u4e1a\u3001\u9ad8\u6821\u3001\u79d1\u7814\u6587\u5316\u5355\u4f4d\uff0c\u5c31\u8d2f\u5f7b\u515a\u7684\u5341\u516b\u5c4a\u4e94\u4e2d\u5168\u4f1a\u7cbe\u795e\u3001\u843d\u5b9e\u201c\u5341\u4e09\u4e94\u201d\u89c4\u5212\u7eb2\u8981\u8fdb\u884c\u8c03\u7814\u8003\u5bdf\u3002\n\u3000\u3000\u4eb2\u6c11\u4e3a\u6c11\u7684\u60c5\u6000\u3001\u6c42\u771f\u52a1\u5b9e\u7684\u4f5c\u98ce\u3001\u5919\u591c\u5728\u516c\u7684\u7cbe\u795e\uff0c\u4e60\u8fd1\u5e73\u603b\u4e66\u8bb0\u7684\u5d07\u9ad8\u98ce\u8303\u548c\u8c06\u8c06\u6559\u8bf2\uff0c\u64ad\u6492\u5728\u6c5f\u6dee\u5927\u5730\u4e0a\uff0c\u954c\u523b\u5728\u5b89\u5fbd\u4eba\u6c11\u5fc3\u4e2d\uff01\n\u3000\u3000\u5b89\u5fbd\u4eba\u6c11\u6df1\u6df1\u94ed\u8bb0\uff0c2011\u5e744\u6708\uff0c\u4e60\u8fd1\u5e73\u6765\u5b89\u5fbd\u8003\u5bdf\uff0c\u5e0c\u671b\u5b89\u5fbd\u7684\u540c\u5fd7\u4eec\u518d\u63a5\u518d\u5389\uff0c\u4e58\u52bf\u800c\u4e0a\uff0c\u5728\u65b0\u7684\u8d77\u70b9\u4e0a\u53d6\u5f97\u65b0\u7684\u66f4\u5927\u6210\u7ee9\u3002 5\u5e74\u6765\uff0c\u5b89\u5fbd\u8d70\u8fc7\u7855\u679c\u7d2f\u7d2f\u7684\u201c\u5341\u4e8c\u4e94\u201d\uff0c\u8d70\u8fdb\u5927\u6709\u53ef\u4e3a\u7684\u201c\u5341\u4e09\u4e94\u201d\uff0c\u6b63\u5411\u7740\u65b0\u7684\u66f4\u9ad8\u76ee\u6807\u8fdb\u53d1\u3002\n\u3000\u3000\u5b89\u5fbd\u4eba\u6c11\u6df1\u6df1\u94ed\u8bb0\uff0c2014\u5e743\u6708\uff0c\u4e60\u8fd1\u5e73\u53c2\u52a0\u5341\u4e8c\u5c4a\u5168\u56fd\u4eba\u5927\u4e8c\u6b21\u4f1a\u8bae\u5b89\u5fbd\u4ee3\u8868\u56e2\u5ba1\u8bae\uff0c\u63d0\u51fa\u4e86\u201c\u4e09\u4e25\u4e09\u5b9e\u201d\u7684\u91cd\u8981\u8bba\u8ff0\u3002\u5b89\u5fbd\u5404\u7ea7\u515a\u5458\u5e72\u90e8\u81ea\u89c9\u628a\u5fe0\u8bda\u5e72\u51c0\u62c5\u5f53\u4f5c\u4e3a\u5ea7\u53f3\u94ed\uff0c\u628a\u201c\u4e09\u4e25\u4e09\u5b9e\u201d\u4f5c\u4e3a\u884c\u4e3a\u51c6\u5219\uff0c\u575a\u5b9a\u4e0d\u79fb\u5411\u515a\u4e2d\u592e\u770b\u9f50\uff0c\u5411\u4e60\u8fd1\u5e73\u603b\u4e66\u8bb0\u770b\u9f50\uff0c\u594b\u529b\u4e89\u5f53\u201c\u56db\u4e2a\u81ea\u89c9\u201d\u6a21\u8303\u3002\n\u3000\u3000\u5728\u5168\u9762\u5efa\u6210\u5c0f\u5eb7\u793e\u4f1a\u51b3\u80dc\u9636\u6bb5\u7684\u5f00\u5c40\u4e4b\u5e74\uff0c\u4e60\u8fd1\u5e73\u603b\u4e66\u8bb0\u4eb2\u4e34\u5b89\u5fbd\u8003\u5bdf\u5de5\u4f5c\uff0c\u575a\u5b9a\u4e86\u6211\u4eec\u5efa\u8bbe\u521b\u65b0\u578b\u201c\u4e09\u4e2a\u5f3a\u7701\u201d\u7684\u4fe1\u5fc3\u51b3\u5fc3\uff0c\u6307\u660e\u4e86\u6211\u4eec\u63a8\u52a8\u5b89\u5fbd\u201c\u5341\u4e09\u4e94\u201d\u53d1\u5c55\u7684\u524d\u8fdb\u65b9\u5411\uff0c\u5f3a\u5316\u4e86\u6211\u4eec\u8df5\u884c\u201c\u56db\u4e2a\u610f\u8bc6\u201d\u7684\u653f\u6cbb\u81ea\u89c9\uff0c\u5fc5\u5c06\u6fc0\u52b1\u5168\u7701\u4eba\u6c11\u6cbf\u7740\u4e2d\u592e\u786e\u5b9a\u7684\u6b63\u786e\u65b9\u5411\u9614\u6b65\u524d\u884c\uff01\n\u3000\u3000\u4e2d\u5171\u4e2d\u592e\u653f\u6cbb\u5c40\u59d4\u5458\u3001\u4e2d\u592e\u653f\u7b56\u7814\u7a76\u5ba4\u4e3b\u4efb\u738b\u6caa\u5b81\uff0c\u4e2d\u5171\u4e2d\u592e\u653f\u6cbb\u5c40\u59d4\u5458\u3001\u4e2d\u592e\u4e66\u8bb0\u5904\u4e66\u8bb0\u3001\u4e2d\u592e\u529e\u516c\u5385\u4e3b\u4efb\u6817\u6218\u4e66\u966a\u540c\u8003\u5bdf\u3002\" \/&gt;\n \u00a0 \u00a0 \u00a0 \u00a0&lt;\/LinearLayout&gt;\n \u00a0 \u00a0&lt;\/android.support.v4.widget.NestedScrollView&gt;\n\n \u00a0 \u00a0&lt;android.support.design.widget.FloatingActionButton\n \u00a0 \u00a0 \u00a0 \u00a0android:id=\"@+id\/fab\"\n \u00a0 \u00a0 \u00a0 \u00a0android:layout_width=\"wrap_content\"\n \u00a0 \u00a0 \u00a0 \u00a0android:layout_height=\"wrap_content\"\n \u00a0 \u00a0 \u00a0 \u00a0android:layout_gravity=\"end|bottom\"\n \u00a0 \u00a0 \u00a0 \u00a0android:layout_margin=\"16dp\"\n \u00a0 \u00a0 \u00a0 \u00a0android:src=\"@mipmap\/ic_launcher\" \/&gt;\n&lt;\/android.support.design.widget.CoordinatorLayout&gt;<\/pre>\n<p>b.\u4ee3\u7801\u6587\u4ef6<\/p>\n<p>\u6eda\u52a8\u662f\u81ea\u52a8\u7684,\u65e0\u9700\u8bbe\u7f6e<\/p>\n<p>c.\u6548\u679c\u56fe<\/p>\n<p><img decoding=\"async\" title=\"1462256814728064208.png\" src=\"https:\/\/www.dingqs.date\/ueditor\/jsp\/upload\/image\/20160503\/1462256814728064208.png\" alt=\"blob.png\" \/><\/p>\n<p><img decoding=\"async\" title=\"1462256840142088922.png\" src=\"https:\/\/www.dingqs.date\/ueditor\/jsp\/upload\/image\/20160503\/1462256840142088922.png\" alt=\"blob.png\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-140","post","type-post","status-publish","format-standard","hentry","category-android"],"_links":{"self":[{"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/posts\/140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=140"}],"version-history":[{"count":0,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/posts\/140\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dd-home.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}