{"id":1323,"date":"2016-02-23T17:55:22","date_gmt":"2016-02-23T09:55:22","guid":{"rendered":"https:\/\/ai.zhousir.top\/?p=1323"},"modified":"2026-08-18T12:58:48","modified_gmt":"2026-08-18T04:58:48","slug":"android%e9%a1%b9%e7%9b%ae%e9%87%8d%e6%9e%84%e4%b9%8b%e8%b7%af%e7%95%8c%e9%9d%a2%e7%af%87","status":"publish","type":"post","link":"https:\/\/ai.zhousir.top\/?p=1323","title":{"rendered":"Android\u9879\u76ee\u91cd\u6784\u4e4b\u8def:\u754c\u9762\u7bc7"},"content":{"rendered":"<section id=\"wenyan\" style=\"font-family: system-ui, 'Apple Color Emoji', 'Segoe UI', 'Segoe UI Symbol', 'Noto Sans', Roboto, sans-serif; line-height: 1.75; font-size: 16px; color: #000000; caret-color: #000000;\" data-provider=\"WenYan\">\n<blockquote style=\"margin: 20px 0px; display: block; font-size: 0.9em; overflow: auto; border-left: 3px solid #ef7060; color: #6a737d; padding: 10px 10px 10px 20px; background: #fff9f9;\">\n<p style=\"margin: 1em 0px;\">\u524d\u4e00\u7bc7 <a href=\"http:\/\/keeganlee.me\/post\/android\/20150605\">\u300aAndroid\u9879\u76ee\u91cd\u6784\u4e4b\u8def:\u67b6\u6784\u7bc7\u300b<\/a> \u628a\u9879\u76ee\u5206\u6210\u6a21\u578b\u3001\u63a5\u53e3\u3001\u6838\u5fc3\u3001\u754c\u9762\u56db\u5c42\u3002\u754c\u9762\u53d8\u5316\u6700\u9891\u7e41\u3001\u4e5f\u6700\u5bb9\u6613\u4e71\u3002\u89c4\u5212\u754c\u9762\u5c42\uff0c\u81f3\u5c11\u5b88\u4f4f\u89c4\u8303\u6027\u3001\u5355\u4e00\u6027\u3001\u7b80\u6d01\u6027\u3002<\/p>\n<\/blockquote>\n<p><!--more--><\/p>\n<hr>\n<h2 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em; border-bottom: 2px solid #ef7060; display: flex;\"><span style=\"display: inline-block; font-weight: bold; background: #ef7060; color: #ffffff; padding: 3px 10px 1px; border-top-right-radius: 3px; border-top-left-radius: 3px; margin-right: 3px;\">\u4e00\u3001\u89c4\u8303\u6027<\/span><\/h2>\n<p style=\"margin: 1em 0px;\">\u7f16\u7801\u4e60\u60ef\u5404\u4e0d\u76f8\u540c\uff1a\u7f29\u8fdb\u6709\u4eba 4 \u7a7a\u683c\u3001\u6709\u4eba 2 \u7a7a\u683c\uff1b\u53d8\u91cf\u6709\u4eba <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">mValue<\/code>\u3001\u6709\u4eba\u76f4\u63a5 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">value<\/code>\u3002\u4e0d\u8bbe\u89c4\u8303\uff0c\u4e45\u4e86\u5fc5\u4e71\u3002\u89c4\u8303\u6ca1\u6709\u7edf\u4e00\u6807\u51c6\uff0c\u4e0b\u9762\u51e0\u70b9\u4ec5\u4f9b\u53c2\u8003\u3002<\/p>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\">\u7f29\u8fdb<\/h3>\n<p style=\"margin: 1em 0px;\">\u5f88\u591a\u4eba\u4e60\u60ef Tab\u3002\u4e0d\u7ba1\u89c4\u8303\u662f 4 \u7a7a\u683c\u8fd8\u662f 2 \u7a7a\u683c\uff0c\u7edf\u4e00\u8bbe\u7f6e\u597d Tab size\uff0c\u5c31\u4e0d\u7528\u6bcf\u4eba\u53bb\u6572\u7a7a\u683c\u3002<\/p>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\">\u547d\u540d<\/h3>\n<p style=\"margin: 1em 0px;\">\u597d\u540d\u5b57\u4e00\u773c\u80fd\u770b\u51fa\u5e72\u4ec0\u4e48\u3001\u4ec0\u4e48\u7c7b\u578b\u3002\u6709\u4eba\u628a TextView \u7f29\u6210 tv\u3001ListView \u7f29\u6210 lv\uff0c\u4e0d\u719f\u6089\u7684\u4eba\u770b\u4e0d\u61c2\uff0c\u4e0d\u5982 text\u3001list \u660e\u786e\u3002id \u547d\u540d\u7ed3\u6784\u53ef\u4ee5\u662f\uff1a\u63a7\u4ef6_\u8303\u56f4_\u529f\u80fd\uff0c\u4f8b\u5982 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">edit_login_password<\/code>\u3002<\/p>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\">\u5355\u4f4d<\/h3>\n<p style=\"margin: 1em 0px;\">\u6587\u5b57\u7528 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">sp<\/code>\uff0c\u5176\u4ed6\u5143\u7d20\u7528 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">dp<\/code>\uff0c\u8ddf\u5206\u8fa8\u7387\u65e0\u5173\u3002SDK \u91cc\u6587\u5b57\u9ed8\u8ba4 sp\uff0c\u5176\u4ed6\u5143\u7d20\u9ed8\u8ba4\u5374\u662f px\uff0c\u4e5f\u6ca1\u63d0\u4f9b dp \u63a5\u53e3\uff0c\u6240\u4ee5\u81ea\u5df1\u5199 dp\/px \u8f6c\u6362\u5f88\u6709\u5fc5\u8981\u3002<\/p>\n<p style=\"margin: 1em 0px;\">\u6700\u91cd\u8981\u7684\u4e0d\u662f\u89c4\u8303\u600e\u4e48\u5b9a\u4e49\uff0c\u800c\u662f\u4e25\u683c\u6267\u884c\u3002\u5b9a\u4e49\u4e86\u5374\u4e0d\u9075\u5b88\uff0c\u7b49\u4e8e\u6ca1\u6709\u3002<\/p>\n<hr>\n<h2 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em; border-bottom: 2px solid #ef7060; display: flex;\"><span style=\"display: inline-block; font-weight: bold; background: #ef7060; color: #ffffff; padding: 3px 10px 1px; border-top-right-radius: 3px; border-top-left-radius: 3px; margin-right: 3px;\">\u4e8c\u3001\u5355\u4e00\u6027<\/span><\/h2>\n<p style=\"margin: 1em 0px;\">\u9762\u5411\u5bf9\u8c61\u6709\u5355\u4e00\u804c\u8d23\uff1a\u4e00\u4e2a\u7c7b\u53ea\u6709\u4e00\u4e2a\u53d8\u5316\u539f\u56e0\u3002\u8fd9\u91cc\u7684\u5355\u4e00\u6027\u8fd8\u7ba1\u65b9\u6cd5\u3001\u5305\uff0c\u76f4\u5230\u5206\u5c42\u3002\u5355\u4e00\u662f\u964d\u8026\u5408\u7684\u5173\u952e\u3002<\/p>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\">\u754c\u9762\u7684\u5355\u4e00<\/h3>\n<p style=\"margin: 1em 0px;\">\u5e03\u5c40\u548c\u6570\u636e\u8981\u5206\u79bb\u3002Android \u5df2\u7ecf\u7528 layout \u548c Activity \u89e3\u8026\uff1alayout \u6392\u5e03\u5c40\uff0cActivity \u5c55\u793a\u6570\u636e\u3002\u6570\u636e\u7684\u83b7\u53d6\u548c\u5c55\u793a\u4e5f\u8981\u5206\u79bb\u3002\u5f88\u591a\u56e2\u961f\u628a\u8bf7\u6c42\u63a5\u53e3\u3001\u62ff\u6570\u636e\u3001\u68c0\u67e5\u3001\u66f4\u65b0 UI \u5168\u585e\u8fdb Activity\/<a href=\"http:\/\/keeganlee.me\/post\/android\/20150605\">\u67b6\u6784\u7bc7<\/a> \u8bfb\u8005\u4e5f\u53cd\u6620\u8fc7\u8fd9\u60c5\u51b5\u3002\u52a0\u7f13\u5b58\u8981\u6539\u754c\u9762\uff0c\u63a7\u4ef6\u6362\u6570\u636e\u4e5f\u8981\u6539\u754c\u9762\u2014\u2014\u5df2\u7ecf\u6709\u4e24\u4e2a\u53d8\u5316\u539f\u56e0\uff0c\u8fdd\u53cd\u5355\u4e00\u804c\u8d23\u3002\u754c\u9762\u6bcf\u4e2a\u7ef4\u5ea6\u90fd\u8981\u5206\u5f00\uff1a\u5e03\u5c40\u3001\u83b7\u53d6\u3001\u68c0\u67e5\u3001\u5c55\u793a\u3002<\/p>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\">\u5305\u548c\u7c7b\u7684\u5355\u4e00<\/h3>\n<p style=\"margin: 1em 0px;\">\u5b9a\u4e49\u5305\u4e4b\u524d\u5148\u60f3\u6e05\u804c\u8d23\u3002\u4f8b\u5982 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">com.keegan.activity<\/code> \u53ea\u653e Activity\uff0c<code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">com.keegan.adapter<\/code> \u53ea\u653e\u9002\u914d\u5668\uff0c<code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">com.keegan.util<\/code> \u662f\u5de5\u5177\u5305\u3002\u6709\u4eba\u628a adapter \u5199\u5728 Activity \u91cc\uff0c\u56e0\u4e3a\u201c\u53ea\u7528\u8fd9\u4e00\u5904\u201d\u3002\u505a\u4e00\u6bb5\u65f6\u95f4\u4f1a\u53d1\u73b0\u65e0\u6cd5\u590d\u7528\uff0c\u5c0f\u9700\u6c42\u8c03\u6574\u8981\u6539\u5f88\u591a\u5730\u65b9\u3002\u628a adapter \u72ec\u7acb\u51fa\u6765\u5e76\u62bd\u57fa\u7c7b\u4e4b\u540e\uff0c\u65b0\u589e\u548c\u4fee\u6539\u90fd\u5c11\u5f88\u591a\u3002\u522b\u8ba9\u4e00\u4e2a\u7c7b\u505a\u592a\u591a\u4e8b\u3002<\/p>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\">\u65b9\u6cd5\u7684\u5355\u4e00<\/h3>\n<p style=\"margin: 1em 0px;\">\u4e00\u4e2a\u65b9\u6cd5\u5c01\u88c5\u4e00\u4e2a\u884c\u4e3a\uff1b\u884c\u4e3a\u8fd8\u80fd\u62c6\u6210\u66f4\u7ec6\u7684\u6b65\u9aa4\u3002\u5173\u952e\u4e0d\u5728\u600e\u4e48\u5b9a\u4e49\u8fd9\u4e2a\u884c\u4e3a\uff0c\u800c\u5728\u600e\u4e48\u62c6\u3002\u4f8b\u5982 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">onCreate<\/code> \u505a\u521d\u59cb\u5316\uff0c\u53ef\u62c6\u6210\uff1a\u63a7\u4ef6\u521d\u59cb\u5316\u3001\u903b\u8f91\u53d8\u91cf\u3001\u6570\u636e\u52a0\u8f7d\u548c\u5c55\u793a\uff1b\u52a0\u8f7d\u548c\u5c55\u793a\u518d\u62c6\uff1a\u7f13\u5b58\u3001\u7f51\u7edc\u3001\u5c55\u793a\u3002\u6bcf\u4e2a\u7ec6\u5316\u884c\u4e3a\u90fd\u72ec\u7acb\u6210\u65b9\u6cd5\u3002<\/p>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\">\u8d44\u6e90\u6587\u4ef6\u7684\u5355\u4e00<\/h3>\n<p style=\"margin: 1em 0px;\">\u5b57\u7b26\u4e32\u8fdb <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">strings.xml<\/code>\uff0c\u6570\u7ec4\u8fdb <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">arrays.xml<\/code>\uff0c\u989c\u8272\u8fdb <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">colors.xml<\/code>\uff0c\u5c3a\u5bf8\u8fdb <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">dimens.xml<\/code>\u3002\u4e0d\u8981\u5728\u4ee3\u7801\u6216\u5e03\u5c40\u91cc\u76f4\u63a5\u5199\u6b7b\u3002\u8981\u56fd\u9645\u5316\u6216\u6539\u5c3a\u5bf8\u65f6\uff0c\u76f4\u63a5\u5199\u6b7b\u7684\u5730\u65b9\u4f1a\u6539\u4e0d\u5b8c\u3002<\/p>\n<p style=\"margin: 1em 0px;\">\u4fdd\u6301\u5355\u4e00\u6027\u5fc5\u5b9a\u4f34\u968f\u91cd\u6784\u3002\u9700\u6c42\u4f1a\u53d8\u3001\u4ee3\u7801\u4f1a\u6269\uff0c\u6269\u7740\u6269\u7740\u5c31\u7834\u574f\u5355\u4e00\uff0c\u518d\u91cd\u6784\u56de\u6765\u3002<\/p>\n<hr>\n<h2 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em; border-bottom: 2px solid #ef7060; display: flex;\"><span style=\"display: inline-block; font-weight: bold; background: #ef7060; color: #ffffff; padding: 3px 10px 1px; border-top-right-radius: 3px; border-top-left-radius: 3px; margin-right: 3px;\">\u4e09\u3001\u7b80\u6d01\u6027<\/span><\/h2>\n<p style=\"margin: 1em 0px;\">\u4ee3\u7801\u6700\u6015\u81c3\u80bf\uff1a\u53ef\u8bfb\u6027\u5dee\u3001\u7ef4\u62a4\u9ebb\u70e6\u3001\u6269\u5c55\u66f4\u522b\u63d0\u3002\u5224\u65ad\u6807\u51c6\u5f88\u7b80\u5355\uff1a\u76f4\u63a5\u8bfb\u5c31\u80fd\u7406\u89e3\u610f\u56fe\uff1b\u610f\u56fe\u4e0d\u660e\u663e\uff0c\u8bf4\u660e\u8fd8\u4e0d\u591f\u7b80\u6d01\u3002\u7c7b\u3001\u5305\u3001\u8d44\u6e90\u6587\u4ef6\u540c\u6837\u9002\u7528\u3002<\/p>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\">\u5305\u7684\u7ec4\u7ec7<\/h3>\n<p style=\"margin: 1em 0px;\">\u6309\u7ec4\u4ef6\u7c7b\u578b\u5206\u5305\uff0c\u4e0d\u8981\u6309\u4e1a\u52a1\u6a21\u5757\u3002\u4e1a\u52a1\u4f1a\u53d8\uff0c\u7ec4\u4ef6\u7c7b\u578b\u57fa\u672c\u4e0d\u53d8\u3002\u65b0\u4eba\u53ef\u80fd\u4e0d\u61c2\u4e1a\u52a1\uff0c\u4f46\u5bf9\u7ec4\u4ef6\u6e05\u695a\uff0c\u5165\u624b\u5feb\u3002<\/p>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\">\u7c7b\u548c\u63a5\u53e3\u7684\u547d\u540d<\/h3>\n<p style=\"margin: 1em 0px;\">\u7ec4\u4ef6\u7c7b\u52a0\u540e\u7f00\uff1aActivity\u3001Fragment\u3001Adapter\uff1b\u5b9e\u4f53\u52a0 BO\uff0c\u5de5\u5177\u52a0 util\uff0c\u5b9e\u73b0\u52a0 Impl\u3002\u63a5\u53e3\u5c42\u540e\u7f00 Api\uff0c\u6838\u5fc3\u5c42\u540e\u7f00 Action\u3002<\/p>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\">\u8d44\u6e90\u6587\u4ef6\u7684\u5206\u7c7b<\/h3>\n<p style=\"margin: 1em 0px;\"><code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">strings.xml<\/code> \u5b58\u6240\u6709\u5b57\u7b26\u4e32\uff0c\u5206\u7c7b\u653e\uff1b\u67d0\u4e00\u7c7b\u592a\u591a\u5c31\u62c6\u6587\u4ef6\uff0c\u4f8b\u5982\u6807\u9898\u62c6\u5230 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">strings_title.xml<\/code>\uff1a<\/p>\n<ul style=\"padding-left: 1rem; margin-left: 1rem; font-size: 0.9rem; list-style-type: disc;\">\n<li>\n<section>\u9875\u9762\u6807\u9898\uff1a<code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">title_{\u9875\u9762}<\/code><\/section>\n<\/li>\n<li>\n<section>\u6309\u94ae\uff1a<code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">btn_{\u6309\u94ae\u4e8b\u4ef6}<\/code><\/section>\n<\/li>\n<li>\n<section>\u6807\u7b7e\uff1a<code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">label_{\u6807\u7b7e\u6587\u5b57}<\/code><\/section>\n<\/li>\n<li>\n<section>\u9009\u9879\u5361\uff1a<code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">tab_{\u9009\u9879\u5361\u6587\u5b57}<\/code><\/section>\n<\/li>\n<li>\n<section>Toast\uff1a<code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">toast_{\u6d88\u606f}<\/code><\/section>\n<\/li>\n<li>\n<section>\u7f16\u8f91\u6846\u63d0\u793a\uff1a<code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">hint_{\u63d0\u793a\u4fe1\u606f}<\/code><\/section>\n<\/li>\n<li>\n<section>\u56fe\u7247\u63cf\u8ff0\uff1a<code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">desc_{\u56fe\u7247\u6587\u5b57}<\/code><\/section>\n<\/li>\n<li>\n<section>\u5bf9\u8bdd\u6846\uff1a<code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: #ef7060; background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">dialog_{\u6587\u5b57}<\/code><\/section>\n<\/li>\n<\/ul>\n<table style=\"border-collapse: collapse; margin: 1.4em auto; max-width: 100%; table-layout: fixed; text-align: left; overflow: auto; display: table; overflow-wrap: break-word; word-break: break-all;\" width=\"817\">\n<thead>\n<tr>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid #ef7060; vertical-align: top; font-weight: bold; background-color: #fff9f9; color: #ef7060;\">\u539f\u5219<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid #ef7060; vertical-align: top; font-weight: bold; background-color: #fff9f9; color: #ef7060;\">\u7ba1\u4ec0\u4e48<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid #ef7060; vertical-align: top; font-weight: bold; background-color: #fff9f9; color: #ef7060;\">\u843d\u5730<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid #ef7060; vertical-align: top;\">\u89c4\u8303\u6027<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid #ef7060; vertical-align: top;\">\u7f29\u8fdb\u3001\u547d\u540d\u3001\u5355\u4f4d<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid #ef7060; vertical-align: top;\">\u5b9a\u4e49\u4e86\u5c31\u5fc5\u987b\u6267\u884c<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid #ef7060; vertical-align: top;\">\u5355\u4e00\u6027<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid #ef7060; vertical-align: top;\">\u754c\u9762\u3001\u5305\u3001\u7c7b\u3001\u65b9\u6cd5\u3001\u8d44\u6e90<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid #ef7060; vertical-align: top;\">\u6269\u5c55\u540e\u91cd\u6784\u56de\u6765<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid #ef7060; vertical-align: top;\">\u7b80\u6d01\u6027<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid #ef7060; vertical-align: top;\">\u4ee3\u7801\u3001\u547d\u540d\u3001\u7ec4\u7ec7\u7ed3\u6784<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid #ef7060; vertical-align: top;\">\u8bfb\u4ee3\u7801\u5c31\u80fd\u61c2\u610f\u56fe<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin: 1em 0px;\">\u4e09\u6761\u539f\u5219\u76f8\u8f85\u76f8\u6210\uff1a\u5355\u4e00\u548c\u7b80\u6d01\u662f\u89c4\u8303\u7684\u6807\u51c6\uff1b\u4e25\u683c\u6267\u884c\u89c4\u8303\uff0c\u540e\u4e24\u6761\u624d\u6709\u6548\u3002\u5177\u4f53\u5b9e\u73b0\u4e0b\u4e00\u7bc7\u518d\u8bb2\u3002<\/p>\n<p style=\"margin: 1em 0px;\">\u539f\u6587\u51fa\u5904\uff1a<a href=\"http:\/\/keeganlee.me\/post\/android\/20150605\" target=\"_blank\">Keegan\u5c0f\u94a2<\/a><\/p>\n<blockquote style=\"margin: 20px 0px; display: block; font-size: 0.9em; overflow: auto; border-left: 3px solid #ef7060; color: #6a737d; padding: 10px 10px 10px 20px; background: #fff9f9;\">\n<p style=\"margin: 1em 0px;\"><strong>\u4e00\u53e5\u8bdd\u603b\u7ed3\uff1a\u754c\u9762\u5c42\u9760\u89c4\u8303\u7edf\u4e00\u98ce\u683c\uff0c\u9760\u5355\u4e00\u62c6\u5f00\u5e03\u5c40\/\u6570\u636e\/\u8d44\u6e90\uff0c\u9760\u7b80\u6d01\u8ba9\u4eba\u8bfb\u4ee3\u7801\u5c31\u80fd\u61c2\uff1b\u6269\u5c55\u7834\u574f\u4e86\u8fd9\u4e09\u6761\uff0c\u5c31\u91cd\u6784\u56de\u6765\u3002<\/strong><\/p>\n<\/blockquote>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u4e00\u7bc7 \u300aAndroid\u9879\u76ee\u91cd\u6784\u4e4b\u8def:\u67b6\u6784\u7bc7\u300b \u628a\u9879\u76ee\u5206\u6210\u6a21\u578b\u3001\u63a5\u53e3\u3001\u6838\u5fc3\u3001\u754c\u9762\u56db\u5c42\u3002\u754c\u9762\u53d8\u5316\u6700\u9891\u7e41\u3001\u4e5f\u6700\u5bb9\u6613 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[45],"tags":[78],"_links":{"self":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/1323"}],"collection":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1323"}],"version-history":[{"count":1,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/1323\/revisions"}],"predecessor-version":[{"id":1324,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/1323\/revisions\/1324"}],"wp:attachment":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}