{"id":1865,"date":"2022-11-25T18:00:33","date_gmt":"2022-11-25T10:00:33","guid":{"rendered":"https:\/\/app.applebyme.cn\/cloud\/appshangjia\/1865.html"},"modified":"2022-11-25T18:00:33","modified_gmt":"2022-11-25T10:00:33","slug":"%e5%b0%8f%e7%b1%b3%e5%a4%a7%e5%b1%8f%e8%ae%be%e5%a4%87%e9%80%82%e9%85%8d%e8%af%b4%e6%98%8e1-2","status":"publish","type":"post","link":"https:\/\/app.applebyme.cn\/cloud\/appshangjia\/1865.html","title":{"rendered":"\u5c0f\u7c73\u5927\u5c4f\u8bbe\u5907\u9002\u914d\u8bf4\u660e1"},"content":{"rendered":"<h2 id=\"_0\">1\u3001\u6982\u8ff0<\/h2>\n<h3 id=\"_0_0\">1.1 \u5c0f\u7c73<span class=\"wpcom_tag_link\">\u5927\u5c4f\u8bbe\u5907<\/span>\u4ecb\u7ecd<\/h3>\n<h4>1.1.1 <span class=\"wpcom_tag_link\">\u6298\u53e0\u5c4f<\/span>\u5f62\u6001\u4e0e\u5c3a\u5bf8<\/h4>\n<p>\u6298\u53e0\u5c4f\u662f\u4e00\u79cd\u67d4\u6027\u5c4f\uff0c\u53ef\u4ee5\u8fdb\u884c\u5f2f\u66f2\u3001\u6298\u53e0\uff0c\u6bd4\u5982\u4e0a\u4e0b\u6298\u53e0\uff0c\u5de6\u53f3\u6298\u53e0\u7b49\u3002<\/p>\n<p>Xiaomi MIX Fold \u548c Xiaomi MIX Fold 2 \u5747\u4e3a\u5de6\u53f3\u5185\u6298\u53e0\u8bbe\u5907\uff0c\u5176\u5c55\u5f00\u72b6\u6001\u548c\u6298\u53e0\u72b6\u6001\u5c4f\u5e55\u5927\u5c0f\u548c\u5206\u8fa8\u7387\u5982\u4e0b\uff1a<\/p>\n<figure class=\"wp-block-table\">\n<table>\n<tbody>\n<tr>\n<td><\/td>\n<td><strong>\u5916\u5c4f<\/strong><\/td>\n<td><strong>\u5185\u5c4f<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>\u5c3a\u5bf8<\/strong><\/td>\n<td><strong>\u5206\u8fa8\u7387<\/strong><\/td>\n<td><strong>\u5c3a\u5bf8<\/strong><\/td>\n<td><strong>\u5206\u8fa8\u7387<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>Xiaomi&nbsp;<\/strong><strong>MIX<\/strong><strong>&nbsp;Fold<\/strong><\/td>\n<td>6.52\u82f1\u5bf8<\/td>\n<td>2520&#215;840<\/td>\n<td>8.01\u82f1\u5bf8<\/td>\n<td>2480&#215;1860<\/td>\n<\/tr>\n<tr>\n<td><strong>Xiaomi&nbsp;<\/strong><strong>MIX<\/strong><strong>&nbsp;Fold 2<\/strong><\/td>\n<td>6.56\u82f1\u5bf8<\/td>\n<td>2520&#215;1080<\/td>\n<td>8.02\u82f1\u5bf8<\/td>\n<td>2160&#215;1914<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>\u5224\u65ad\u662f\u5426\u4e3a\u6298\u53e0\u5c4f\u8bbe\u5907\u7684\u63a5\u53e3\u4e3a\uff1a<\/p>\n<pre class=\"wp-block-code\"><code><em>\/\/\u53ef\u901a\u8fc7\u53cd\u5c04\u8c03\u7528 SystemProperties \u7684 persist.sys.muiltdisplay_type \u5c5e\u6027\u503c\u6765\u8fdb\u884c\u5224\u65ad<\/em>\n<strong>boolean<\/strong> isFoldDisplay = SystemProperties.getInt(\"persist.sys.muiltdisplay_type\", 0) == 2;<\/code><\/pre>\n<p>\u6298\u53e0\/\u5c55\u5f00\u6001\u7684\u5224\u65ad\u63a5\u53e3\u4e3a\uff1a<\/p>\n<pre class=\"wp-block-code\"><code><em>\/\/ 0 UNKNOWN<\/em>\n<em>\/\/ 1 \u6298\u53e0<\/em>\n<em>\/\/ 2 \u534a\u6298\uff08MIX Fold 2\u652f\u6301\uff09<\/em>\n<em>\/\/ 3 \u5c55\u5f00<\/em>\n<strong>final<\/strong> <strong>int<\/strong> posture = Settings.Global.getInt(<strong>this<\/strong>.getContentResolver(), \"device_posture\", 0);<\/code><\/pre>\n<h4>1.1.2 \u5e73\u677f\u8bbe\u5907\u5f62\u6001\u4e0e\u5c3a\u5bf8<\/h4>\n<p>\u5c0f\u7c73\u5e73\u677f\u8bbe\u5907\u5c4f\u5e55\u5927\u5c0f\u548c\u5206\u8fa8\u7387\u4fe1\u606f\u5982\u4e0b\uff1a<\/p>\n<figure class=\"wp-block-table\">\n<table>\n<tbody>\n<tr>\n<td><\/td>\n<td><strong>\u5c3a\u5bf8<\/strong><\/td>\n<td><strong>\u5206\u8fa8\u7387<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>\u5c0f\u7c73\u5e73\u677f5<\/strong><\/td>\n<td>11 \u82f1\u5bf8<\/td>\n<td>2560 x 1600<\/td>\n<\/tr>\n<tr>\n<td><strong>\u5c0f\u7c73\u5e73\u677f5 Pro<\/strong><\/td>\n<td>11 \u82f1\u5bf8<\/td>\n<td>2560 x 1600<\/td>\n<\/tr>\n<tr>\n<td><strong>\u5c0f\u7c73\u5e73\u677f5 Pro 5G<\/strong><\/td>\n<td>11 \u82f1\u5bf8<\/td>\n<td>2560 x 1600<\/td>\n<\/tr>\n<tr>\n<td><strong>\u5c0f\u7c73\u5e73\u677f5 Pro 12.4<\/strong><\/td>\n<td>12.4 \u82f1\u5bf8<\/td>\n<td>2560 x 1600<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>\u5224\u65ad\u662f\u5426\u4e3a\u5e73\u677f\u8bbe\u5907\u7684\u63a5\u53e3\u4e3a\uff1a<\/p>\n<pre class=\"wp-block-code\"><code><strong>public<\/strong> <strong>static<\/strong> <strong>boolean<\/strong> <strong>isTablet<\/strong>(){    \n<em>\/**\u5e94\u7528\u9700\u53cd\u5c04\u8c03\u7528*\/<\/em>    \n     <strong>return<\/strong> SystemProperties.get(\"ro.build.characteristics\").contains(\"tablet\");}<\/code><\/pre>\n<p>\u5e94\u7528\u4e5f\u53ef\u4ee5\u52a8\u6001\u5224\u65ad\u5f53\u524d\u7a97\u53e3\u663e\u793a\u5728<span class=\"wpcom_tag_link\">\u5927\u5c4f<\/span>\u4e0b\uff1a<\/p>\n<pre class=\"wp-block-code\"><code><strong>public<\/strong> <strong>static<\/strong> <strong>boolean<\/strong> <strong>isTablet<\/strong>(Context context) {    \n    <strong>return<\/strong> (context.getResources().getConfiguration().screenLayout &amp; Configuration.SCREENLAYOUT_SIZE_MASK) &gt;= Configuration.SCREENLAYOUT_SIZE_LARGE;}<\/code><\/pre>\n<h4>1.1.3 \u53ef\u6269\u5c55\u6027<\/h4>\n<p><span class=\"wpcom_tag_link\">\u5c0f\u7c73\u5927\u5c4f<\/span>\u8bbe\u5907\u54c1\u7c7b\u5f62\u6001\u672a\u6765\u5c06\u4f1a\u6709\u66f4\u591a\u4e30\u5bcc\u7684\u4ea7\u54c1\uff0c\u56e0\u6b64\u5e94\u7528\u9002\u914d\u540e\u9700\u8981\u652f\u6301\u4e00\u5b9a\u7a0b\u5ea6\u62c9\u4f38\u3002<\/p>\n<h3 id=\"_0_1\">1.2 \u6587\u6863\u9002\u7528\u5bf9\u8c61<\/h3>\n<p>\u9700\u8981\u9002\u914d\u5c0f\u7c73\u5927\u5c4f\u8bbe\u5907\u5e94\u7528\u7684\u7b2c\u4e09\u65b9\u5f00\u53d1\u8005\u3001UX\u8bbe\u8ba1\u5e08\u3001\u7cfb\u7edf\u5de5\u7a0b\u5e08\u3001\u6d4b\u8bd5<\/p>\n<h2 id=\"_1\">2\u3001UX\u8bbe\u8ba1\u4e0e\u8f6f\u4ef6\u5f62\u6001\u9002\u914d\u5efa\u8bae<\/h2>\n<h3 id=\"_1_0\">2.1 \u57fa\u7840\u4f53\u9a8c\u8bbe\u8ba1<\/h3>\n<h4>2.1.1 \u5b57\u4f53<\/h4>\n<p><a href=\"https:\/\/app.applebyme.cn\/shengcheng-35.html\">\u751f\u6210APP<\/a><\/p>\n<ul>\n<li>\u4f18\u5148\u8c03\u7528\u7cfb\u7edf\u9ed8\u8ba4\u5b57\u4f53\u6765\u4fdd\u8bc1\u6574\u53f0\u8bbe\u5907\u7684\u9605\u8bfb\u4f53\u9a8c\u4e00\u81f4\u6027\uff0c\u9664\u975e\u6709\u7279\u6b8a\u9700\u6c42\uff1b<\/li>\n<li>\u6392\u7248\u53ca\u5b57\u53f7\u5b57\u91cd\u5e94\u4fdd\u8bc1\u6e05\u6670\u53ef\u8bfb\uff1b<\/li>\n<li>\u5728\u6298\u53e0\u5c4f\u4e0a\uff0c\u5efa\u8bae\u4fdd\u6301\u5185\u5916\u5c4f\u5b57\u53f7\u5927\u5c0f\u4e00\u81f4\uff0c\u5c55\u5f00\u5927\u5c4f\u5b57\u53f7\u5927\u5c0f\u5982\u8981\u653e\u5927\uff0c\u6700\u5927\u4e0d\u80fd\u8d85\u8fc7\u5916\u5c4f\u5c0f\u5c4f\u76841.2\u500d\u3002<\/li>\n<\/ul>\n<h4>2.1.2 \u56fe\u7247\u3001\u89c6\u9891<a href=\"https:\/\/app.applebyme.cn\/shengcheng-45.html\">\u6709\u8d5e\u5546\u57ce\u751f\u6210APP<\/a><\/h4>\n<ul>\n<li>\u8fd9\u4e9b\u8d44\u6e90\u4e0d\u5e94\u8be5\u51fa\u73b0\u53d8\u5f62\u3001\u6a21\u7cca\u6216\u8005\u663e\u793a\u4e0d\u5168\u7684\u95ee\u9898\uff0c\u5f71\u54cd\u4f53\u9a8c\uff1b<\/li>\n<li>\u5728\u6298\u53e0\u5c4f\u4e0a\uff0c\u5efa\u8bae\u56fe\u7247\u3001\u89c6\u9891\u7b49\u4fe1\u606f\u5185\u5bb9\u5728\u5185\u5916\u5c4f\u91c7\u7528\u52a8\u6001\u5e03\u5c40\uff0c\u4fdd\u6301\u56fe\u7247\u89c6\u9891\u7b49\u5185\u5bb9\u5927\u5c0f\u4e00\u81f4\uff1b\u5c55\u5f00\u5927\u5c4f\u7684\u56fe\u7247\u89c6\u9891\u7b49\u5185\u5bb9\u5927\u5c0f\u5982\u8981\u653e\u5927\uff0c\u6700\u5927\u4e0d\u80fd\u8d85\u8fc7\u5c4f\u5e55\u9ad8\u5ea6\u3002<\/li>\n<\/ul>\n<h4>2.1.3 \u5f39\u7a97<\/h4>\n<ul>\n<li>\u5f39\u7a97\u5728\u5e94\u7528\u8bbe\u8ba1\u4e2d\u6bd4\u8f83\u5e38\u89c1\uff0c\u5982\u8fd0\u8425\u5185\u5bb9\u3001\u5e7f\u544a\u8425\u9500\u7b49\uff0c\u5efa\u8bae\u5f39\u7a97\u5927\u5c0f\u9002\u4e2d\uff0c\u4e14\u6709\u6e05\u6670\u7684\u4f9b\u7528\u6237\u5173\u95ed\u7684\u6309\u94ae\uff1b<\/li>\n<li>\u5728\u6298\u53e0\u5c4f\u4e0a\uff0c\u5efa\u8bae\u5f39\u7a97\u5927\u5c0f\u5185\u5916\u5c4f\u4fdd\u6301\u4e00\u81f4\uff1b\u5c55\u5f00\u5927\u5c4f\u7684\u5f39\u7a97\u5982\u8981\u653e\u5927\uff0c\u6700\u5927\u4e0d\u80fd\u8d85\u8fc7\u5c4f\u5e55\u9ad8\u5ea6\u768470%\u3002<\/li>\n<\/ul>\n<h3 id=\"_1_1\">2.2 \u9875\u9762\u5e03\u5c40\u8bbe\u8ba1<\/h3>\n<h4>2.2.1 \u52a8\u6001\u5e03\u5c40<\/h4>\n<ul>\n<li>\u5927\u5c4f\u8bbe\u5907\u80fd\u591f\u5728\u7ad6\u5c4f\u548c\u6a2a\u5c4f\u4e4b\u95f4\u65e0\u7f1d\u5207\u6362\uff0c\u6298\u53e0\u5c4f\u8bbe\u5907\u8fd8\u80fd\u591f\u5728\u5185\u5c4f\u548c\u5916\u5c4f\u4e4b\u95f4\u65e0\u7f1d\u5207\u6362\uff0c\u62e5\u6709\u5f3a\u5927\u7684\u529f\u80fd\u548c\u5185\u5bb9\u4f53\u9a8c\u3002<\/li>\n<li>\u5e94\u7528\u53ef\u80fd\u4f1a\u9047\u5230\u4ee5\u4e0b\u51e0\u79cd\u7a97\u53e3\u60c5\u51b5<\/li>\n<\/ul>\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/11\/20221124145628360.png\" alt=\"\u5c0f\u7c73\u5927\u5c4f\u8bbe\u5907\u9002\u914d\u8bf4\u660e1\" \/><img decoding=\"async\" class=\"j-lazy\" src=\"https:\/\/www.yimenapp.com\/kb-yimen\/wp-content\/themes\/justnews\/themer\/assets\/images\/lazy.png\" data-original=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/11\/20221124145628360.png\" alt=\"\u5c0f\u7c73\u5927\u5c4f\u8bbe\u5907\u9002\u914d\u8bf4\u660e1\" \/><\/figure>\n<p>\u57fa\u4e8e\u4ee5\u4e0a\u60c5\u51b5\uff0c\u63a8\u8350\u51e0\u79cd\u5e03\u5c40\u65b9\u5f0f<\/p>\n<p><strong>A.\u62c9\u4f38<\/strong><\/p>\n<p>\u4ec5\u5361\u7247\u533a\u57df\u3001\u663e\u793a\u533a\u57df\u7b49\u62c9\u4f38\uff0c\u6587\u5b57\u5927\u5c0f\u56fe\u6807\u5927\u5c0f\u5747\u4fdd\u6301\u4e00\u81f4<\/p>\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/11\/20221124145635518.jpg\" alt=\"\u5c0f\u7c73\u5927\u5c4f\u8bbe\u5907\u9002\u914d\u8bf4\u660e1\" \/><img decoding=\"async\" class=\"j-lazy\" src=\"https:\/\/www.yimenapp.com\/kb-yimen\/wp-content\/themes\/justnews\/themer\/assets\/images\/lazy.png\" data-original=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/11\/20221124145635518.jpg\" alt=\"\u5c0f\u7c73\u5927\u5c4f\u8bbe\u5907\u9002\u914d\u8bf4\u660e1\" \/><\/figure>\n<p><strong>B.\u7f29\u653e<\/strong><\/p>\n<p>\u6839\u636e\u7a97\u53e3\u533a\u57df\u7b49\u6bd4\u7f29\u653e\u5185\u5bb9\u4fe1\u606f<\/p>\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/11\/20221124145706369.jpg\" alt=\"\u5c0f\u7c73\u5927\u5c4f\u8bbe\u5907\u9002\u914d\u8bf4\u660e1\" \/><img decoding=\"async\" class=\"j-lazy\" src=\"https:\/\/www.yimenapp.com\/kb-yimen\/wp-content\/themes\/justnews\/themer\/assets\/images\/lazy.png\" data-original=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/11\/20221124145706369.jpg\" alt=\"\u5c0f\u7c73\u5927\u5c4f\u8bbe\u5907\u9002\u914d\u8bf4\u660e1\" \/><\/figure>\n<p><strong>C.\u62d3\u5c55\/\u589e\u91cf\/\u51cf\u91cf<\/strong><\/p>\n<p>\u6839\u636e\u7a97\u53e3\u533a\u57df\u589e\u52a0\u6216\u51cf\u5c11\u9879\uff0c\u9879\u7684\u5c3a\u5bf8\u5927\u5c0f\u4fdd\u6301\u4e0d\u53d8<\/p>\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/11\/20221124145733241.jpg\" alt=\"\u5c0f\u7c73\u5927\u5c4f\u8bbe\u5907\u9002\u914d\u8bf4\u660e1\" \/><img decoding=\"async\" class=\"j-lazy\" src=\"https:\/\/www.yimenapp.com\/kb-yimen\/wp-content\/themes\/justnews\/themer\/assets\/images\/lazy.png\" data-original=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/11\/20221124145733241.jpg\" alt=\"\u5c0f\u7c73\u5927\u5c4f\u8bbe\u5907\u9002\u914d\u8bf4\u660e1\" \/><\/figure>\n<p><strong>D.\u91cd\u65b0\u5e03\u5c40<\/strong><\/p>\n<p>\u6839\u636e\u7a97\u53e3\u533a\u57df\u91cd\u65b0\u5bf9\u5185\u5bb9\u8fdb\u884c\u5e03\u5c40\uff0c\u4ee5\u9002\u5e94\u66f4\u597d\u7684\u4fe1\u606f\u9605\u8bfb<\/p>\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/11\/20221124145756213.jpg\" alt=\"\u5c0f\u7c73\u5927\u5c4f\u8bbe\u5907\u9002\u914d\u8bf4\u660e1\" \/><img decoding=\"async\" class=\"j-lazy\" src=\"https:\/\/www.yimenapp.com\/kb-yimen\/wp-content\/themes\/justnews\/themer\/assets\/images\/lazy.png\" data-original=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/11\/20221124145756213.jpg\" alt=\"\u5c0f\u7c73\u5927\u5c4f\u8bbe\u5907\u9002\u914d\u8bf4\u660e1\" \/><\/figure>\n<p>\u7f16\u8f91\uff1ayimen\uff0c\u5982\u82e5\u8f6c\u8f7d\uff0c\u8bf7\u6ce8\u660e\u51fa\u5904\uff1ahttps:\/\/www.yimenapp.com\/kb-yimen\/12620\/<\/p>\n<p>\u90e8\u5206\u5185\u5bb9\u6765\u81ea\u7f51\u7edc\u6295\u7a3f\uff0c\u5982\u6709\u4fb5\u6743\u8054\u7cfb\u7acb\u5220<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u6982\u8ff01.1 \u5c0f\u7c73\u5927\u5c4f\u8bbe\u5907\u4ecb\u7ecd1.1.1 \u6298\u53e0\u5c4f\u5f62\u6001\u4e0e\u5c3a\u5bf8\u6298\u53e0\u5c4f\u662f\u4e00\u79cd\u67d4\u6027\u5c4f\uff0c\u53ef\u4ee5\u8fdb\u884c\u5f2f\u66f2\u3001\u6298\u53e0\uff0c\u6bd4\u5982\u4e0a\u4e0b\u6298\u53e0\uff0c\u5de6\u53f3\u6298\u53e0\u7b49\u3002Xiaomi MIX Fold \u548c Xiaomi MIX Fold 2 \u5747\u4e3a\u5de6\u53f3\u5185\u6298\u53e0\u8bbe\u5907\uff0c\u5176\u5c55\u5f00\u72b6\u6001\u548c\u6298\u53e0\u72b6\u6001\u5c4f\u5e55\u5927\u5c0f\u548c\u5206\u8fa8\u7387\u5982\u4e0b\uff1a\u5916\u5c4f\u5185\u5c4f\u5c3a\u5bf8\u5206\u8fa8\u7387\u5c3a\u5bf8\u5206\u8fa8\u7387Xiaomi<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[548,882],"class_list":["post-1865","post","type-post","status-publish","format-standard","hentry","category-appshangjia","tag-548","tag-882"],"_links":{"self":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/1865","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/comments?post=1865"}],"version-history":[{"count":0,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/1865\/revisions"}],"wp:attachment":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/media?parent=1865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/categories?post=1865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/tags?post=1865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}