{"id":750,"date":"2009-09-25T13:55:07","date_gmt":"2009-09-25T05:55:07","guid":{"rendered":"http:\/\/www.impjq.net\/blog\/2009\/09\/25\/android-browser-zoom-inout-%e5%88%86%e6%9e%90\/"},"modified":"2018-12-07T23:21:05","modified_gmt":"2018-12-07T15:21:05","slug":"android-browser-zoom-inout-%e5%88%86%e6%9e%90","status":"publish","type":"post","link":"https:\/\/pjq.me\/?p=750","title":{"rendered":"Android Browser zoom In\/Out \u5206\u6790"},"content":{"rendered":"<p>\u5f53\u6211\u4eec\u5728\u7528browser\u6d4f\u89c8\u7f51\u9875\u7684\u65f6\u5019\uff0c\u4e0a\u4e0b\u62d6\u52a8\u9875\u9762\uff0c\u5c31\u4f1a\u51fa\u73b0\u4e00\u4e2a\u653e\u5927\u7f29\u5c0f\u7684\u6309\u952e\u4e86\u3002<br \/>\n\u73b0\u5728\u8981\u5728browser\u4e0a\u505amulti-touch\uff0c\u53ef\u4ee5\u7528\u4e24\u4e2a\u624b\u6307\u5bf9\u9875\u9762\u8fdb\u884c\u653e\u5927\u7f29\u5c0f\u64cd\u4f5c\uff0c\u73b0\u5728\u65e2\u7136\u5df2\u7ecf\u5b58\u5728\u4e86\u73b0\u5728\u7684\u653e\u5927\u7f29\u5c0f\u529f\u80fd\uff0c\u6211\u53ea\u8981\u80fd\u591f<br \/>\n\u627e\u5230\u5b83\u76f8\u5e94\u7684\u64cd\u4f5c\u5c31\u884c\u4e86\u3002<br \/>\n\u4e3b\u8981\u7684\u64cd\u4f5c\u90fd\u662f\u5728framework\u4e0b\u9762:WebView.java.<br \/>\n\u5728\u7c7bWebView\u7684\u8bf4\u660e\u91cc\u5c31\u6709\u4e00\u6bb5\uff1a<br \/>\nTo enable the built-in zoom, set<br \/>\n * {@link #getSettings() WebSettings}.{@link WebSettings#setBuiltInZoomControls(boolean)}<br \/>\n\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2a\u9009\u62e9\u5f00\u542f\u8fd8\u662f\u5173\u95edzoom\u529f\u80fd\u3002<\/p>\n<p>\u5728\u67e5\u627e\u7684\u8fc7\u7a0b\u4e2d\u627e\u5230\u4e86\uff1a<br \/>\n<!--more--><\/p>\n<pre lang=\"java\" line=\"1\">\n    \/**\n     * Perform zoom in in the webview\n     * @return TRUE if zoom in succeeds. FALSE if no zoom changes.\n     *\/\n    public boolean zoomIn() {\n        \/\/ TODO: alternatively we can disallow this during draw history mode\n        switchOutDrawHistory();\n        return zoomWithPreview(mActualScale * 1.25f);\n    }\n\n    \/**\n     * Perform zoom out in the webview\n     * @return TRUE if zoom out succeeds. FALSE if no zoom changes.\n     *\/\n    public boolean zoomOut() {\n        \/\/ TODO: alternatively we can disallow this during draw history mode\n        switchOutDrawHistory();\n        return zoomWithPreview(mActualScale * 0.8f);\n    }\n<\/pre>\n<p>\u540e\u6765\u5bf9browser\u8fdb\u884c\u8c03\u8bd5\uff0c\u5728\u8fd9\u91cc\u8bbe\u4e86\u65ad\u70b9\uff0c\u8fd9\u91cc\u5c31\u662fzoom in \u548czoom out\u7684\u5904\u7406\u51fd\u6570\u4e86\u3002<br \/>\n\u627e\u5230\u4e86\u8fd9\u4e2a\u6211\u5c31\u8981\u5bf9browser\u8fdb\u884c\u4e00\u4e2a\u7b80\u5355\u7684\u6d4b\u8bd5\u4e86\uff1a<br \/>\n\u5728BrowserActivity.java\u91cc\u6709\u4e00\u4e2aonKeyDown\u51fd\u6570\uff0c\u88abOverride,\u8fd9\u4e2a\u51fd\u6570\u53ef\u4ee5\u7528\u6765\u63a5\u6536\u6309\u952e\u4e8b\u4ef6\uff0c\u6211\u5c31\u7528\u6309\u4e0b0\u548c1\u80fd\u5bf9\u5e94zoom in\u548czoom out.<br \/>\n\u5728\u8fd9\u4e2a\u51fd\u6570\u91cc\u6211\u52a0\u4e0a\u8fd9\u4e48\u4e00\u6bb5\uff1a<\/p>\n<pre lang=\"java\" line=\"1\">\n        Log.v(LOGTAG, \"onKey,keyCode:\"+keyCode);\n        final WebView webView = getTopWindow();\n        switch (keyCode) {\n            case KeyEvent.KEYCODE_0:\n                Log.v(LOGTAG, \"KEYCODE_0,zoomIn\");\n                webView.zoomIn();\n                return true;\n                \/\/break;\n\n            case KeyEvent.KEYCODE_1:\n                Log.v(LOGTAG, \"KEYCODE_1,zoomOut\");\n                webView.zoomOut();\n                return true;\n                \/\/break;\n\n            default:\n                break;\n        }\n<\/pre>\n<p>\u8fd9\u6837\u5c31\u53ef\u4ee5\u5bf9\u6309\u952e0\u548c1\u8fdb\u884c\u62e6\u622a\u4e86\uff0c\u7136\u540e\u8fdb\u884czoomIn\u548czoom out\u64cd\u4f5c\u4e86\u3002<br \/>\n\u7f16\u8bd1\uff0c\u6253\u5305\uff0c\u6d4b\u8bd5\uff0c\u679c\u7136\u548c\u6211\u60f3\u7684\u4e00\u6837\uff0c\u6309\u4e0b0\uff0c1\u540e\u5206\u522b\u4f1a\u8fdb\u884czoom in \u548czoom out\u64cd\u4f5c\u4e86\u3002<br \/>\n\u6d4b\u8bd5\u5230\u8fd9\u91cc\u4ee5\u540emulti-touch\u4e5f\u6309\u8fd9\u79cd\u65b9\u5f0f\u5904\u7406\u5c31\u884c\u4e86\u3002<\/p>\n<p>\u5728\u663e\u793azoom in\/out\u7684\u540c\u65f6\uff0cbrowser\u4e0a\u8fd8\u4f1a\u663e\u793a\uff0c\u4e00\u4e2a\u201c1X\u201d\u548c\u201cX\u201d\u5927\u6982\u8fd9\u6837\u7684\u4e24\u4e2a\u6309\u94ae\uff0c\u8fd9\u4e24\u4e2a\u6309\u952e\u53c8\u662f\u5728\u54ea\u91cc\u8fdb\u884c\u5904\u7406\u7684\u5462\uff1f<br \/>\n\u7ee7\u7eed\u8c03\u8bd5\uff0c\u8fd0\u6c14\u5f88\u597d\uff0c\u6211\u4e4b\u524d\u5728zoomWithPreview();\u6253\u4e86\u65ad\u70b9\uff0c\u6309\u4e0b\u201c1X\u201d\u540e\uff0c\u5c31\u8dd1\u5230\u8fd9\u4e2a\u51fd\u6570\u4e86\uff0c\u4ecedebug stack\u4e2d\u5f88\u5bb9\u6613\u5c31\u627e\u5230\u4e86\u524d\u9762\u8dd1\u8fc7\u7684\u4e00\u4e9b\u51fd\u6570\u4e86\uff1a<br \/>\n\u6700\u4e3b\u8981\u7684\u5c31\u662f\u8fd9\u4e2a\u4e86\uff1a<\/p>\n<pre lang=\"java\" line=\"1\">\n private void initZoomController(Context context) {\n        \/\/ Create the buttons controller\n        mZoomButtonsController = new ZoomButtonsController(this);\n        mZoomButtonsController.setOnZoomListener(mZoomListener);\n\n        \/\/ Create the accessory buttons\n        LayoutInflater inflater =\n                (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n        ViewGroup container = mZoomButtonsController.getContainer();\n        inflater.inflate(com.android.internal.R.layout.zoom_browser_accessory_buttons, container);\n        mZoomOverviewButton =\n                (ImageView) container.findViewById(com.android.internal.R.id.zoom_page_overview);\n        mZoomOverviewButton.setOnClickListener(\n            new View.OnClickListener() {\n                public void onClick(View v) {\n                    mZoomButtonsController.setVisible(false);\n                    zoomScrollOut();\n                    if (mLogEvent) {\n                        Checkin.updateStats(mContext.getContentResolver(),\n                                Checkin.Stats.Tag.BROWSER_ZOOM_OVERVIEW, 1, 0.0);\n                    }\n                }\n            });\n        mZoomFitPageButton =\n                (ImageView) container.findViewById(com.android.internal.R.id.zoom_fit_page);\n        mZoomFitPageButton.setOnClickListener(\n            new View.OnClickListener() {\n                public void onClick(View v) {\n                    zoomWithPreview(1f);\n                    updateZoomButtonsEnabled();\n                }\n            });\n    }\n<\/pre>\n<p>\u8fd9\u91cc\u9762\u5206\u522b\u5bf9&#8221;1X&#8221;,&#8221;X&#8221;\u8bbe\u7f6e\u4e86OnClickListener,\u5177\u4f53\u600e\u4e48\u64cd\u4f5c\u6211\u8fd8\u6ca1\u770b\u3002<br \/>\n\u627e\u5230\u8fd9\u91cc\uff0c\u5c31\u7b97\u5c06Browser\u7684zoom\u64cd\u4f5c\u5177\u4f53\u8def\u7ebf\u627e\u5168\u4e86\uff0c\u81f3\u4e8e\u66f4\u8be6\u7ec6\u7684\u64cd\u4f5c\u8fd8\u9700\u8981\u8fdb\u4e00\u6b65\u5206\u6790\u3002<\/p>\n<div class=\"zemanta-pixie\"><img decoding=\"async\" class=\"zemanta-pixie-img\" alt=\"\" src=\"http:\/\/img.zemanta.com\/pixy.gif?x-id=30b7359f-d8d9-8404-8dbe-5d1924d8709e\" \/><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53\u6211\u4eec\u5728\u7528browser\u6d4f\u89c8\u7f51\u9875\u7684\u65f6\u5019\uff0c\u4e0a\u4e0b\u62d6\u52a8\u9875\u9762\uff0c\u5c31\u4f1a\u51fa\u73b0\u4e00\u4e2a\u653e\u5927\u7f29\u5c0f\u7684\u6309\u952e\u4e86\u3002 \u73b0\u5728\u8981\u5728browser\u4e0a\u505amulti-touch\uff0c\u53ef\u4ee5\u7528\u4e24\u4e2a\u624b\u6307\u5bf9\u9875\u9762\u8fdb\u884c\u653e\u5927\u7f29\u5c0f\u64cd\u4f5c\uff0c\u73b0\u5728\u65e2\u7136\u5df2\u7ecf\u5b58\u5728\u4e86\u73b0\u5728\u7684\u653e\u5927\u7f29\u5c0f\u529f\u80fd\uff0c\u6211\u53ea\u8981\u80fd\u591f \u627e\u5230\u5b83\u76f8\u5e94\u7684\u64cd\u4f5c\u5c31\u884c\u4e86\u3002 \u4e3b\u8981\u7684\u64cd\u4f5c\u90fd\u662f\u5728framework\u4e0b\u9762:WebView.java. \u5728\u7c7bWebView\u7684\u8bf4\u660e\u91cc\u5c31\u6709\u4e00\u6bb5\uff1a To enable the built-in zoom, set * {@link #getSettings() WebSettings}.{@link WebSettings#setBuiltInZoomControls(boolean)} \u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2a\u9009\u62e9\u5f00\u542f\u8fd8\u662f\u5173\u95edzoom\u529f\u80fd\u3002 \u5728\u67e5\u627e\u7684\u8fc7\u7a0b\u4e2d\u627e\u5230\u4e86\uff1a<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-750","post","type-post","status-publish","format-standard","hentry","category-android"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Android Browser zoom In\/Out \u5206\u6790 - Jianqing&#039;s Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pjq.me\/?p=750\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Android Browser zoom In\/Out \u5206\u6790 - Jianqing&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"\u5f53\u6211\u4eec\u5728\u7528browser\u6d4f\u89c8\u7f51\u9875\u7684\u65f6\u5019\uff0c\u4e0a\u4e0b\u62d6\u52a8\u9875\u9762\uff0c\u5c31\u4f1a\u51fa\u73b0\u4e00\u4e2a\u653e\u5927\u7f29\u5c0f\u7684\u6309\u952e\u4e86\u3002 \u73b0\u5728\u8981\u5728browser\u4e0a\u505amulti-touch\uff0c\u53ef\u4ee5\u7528\u4e24\u4e2a\u624b\u6307\u5bf9\u9875\u9762\u8fdb\u884c\u653e\u5927\u7f29\u5c0f\u64cd\u4f5c\uff0c\u73b0\u5728\u65e2\u7136\u5df2\u7ecf\u5b58\u5728\u4e86\u73b0\u5728\u7684\u653e\u5927\u7f29\u5c0f\u529f\u80fd\uff0c\u6211\u53ea\u8981\u80fd\u591f \u627e\u5230\u5b83\u76f8\u5e94\u7684\u64cd\u4f5c\u5c31\u884c\u4e86\u3002 \u4e3b\u8981\u7684\u64cd\u4f5c\u90fd\u662f\u5728framework\u4e0b\u9762:WebView.java. \u5728\u7c7bWebView\u7684\u8bf4\u660e\u91cc\u5c31\u6709\u4e00\u6bb5\uff1a To enable the built-in zoom, set * {@link #getSettings() WebSettings}.{@link WebSettings#setBuiltInZoomControls(boolean)} \u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2a\u9009\u62e9\u5f00\u542f\u8fd8\u662f\u5173\u95edzoom\u529f\u80fd\u3002 \u5728\u67e5\u627e\u7684\u8fc7\u7a0b\u4e2d\u627e\u5230\u4e86\uff1a\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pjq.me\/?p=750\" \/>\n<meta property=\"og:site_name\" content=\"Jianqing&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2009-09-25T05:55:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-12-07T15:21:05+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/img.zemanta.com\/pixy.gif?x-id=30b7359f-d8d9-8404-8dbe-5d1924d8709e\" \/>\n<meta name=\"author\" content=\"pengjianqing\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"pengjianqing\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/pjq.me\/?p=750#article\",\"isPartOf\":{\"@id\":\"https:\/\/pjq.me\/?p=750\"},\"author\":{\"name\":\"pengjianqing\",\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\"},\"headline\":\"Android Browser zoom In\/Out \u5206\u6790\",\"datePublished\":\"2009-09-25T05:55:07+00:00\",\"dateModified\":\"2018-12-07T15:21:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/pjq.me\/?p=750\"},\"wordCount\":63,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\"},\"image\":{\"@id\":\"https:\/\/pjq.me\/?p=750#primaryimage\"},\"thumbnailUrl\":\"http:\/\/img.zemanta.com\/pixy.gif?x-id=30b7359f-d8d9-8404-8dbe-5d1924d8709e\",\"articleSection\":[\"Android\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/pjq.me\/?p=750#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/pjq.me\/?p=750\",\"url\":\"https:\/\/pjq.me\/?p=750\",\"name\":\"Android Browser zoom In\/Out \u5206\u6790 - Jianqing&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/pjq.me\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/pjq.me\/?p=750#primaryimage\"},\"image\":{\"@id\":\"https:\/\/pjq.me\/?p=750#primaryimage\"},\"thumbnailUrl\":\"http:\/\/img.zemanta.com\/pixy.gif?x-id=30b7359f-d8d9-8404-8dbe-5d1924d8709e\",\"datePublished\":\"2009-09-25T05:55:07+00:00\",\"dateModified\":\"2018-12-07T15:21:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/pjq.me\/?p=750#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/pjq.me\/?p=750\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/pjq.me\/?p=750#primaryimage\",\"url\":\"http:\/\/img.zemanta.com\/pixy.gif?x-id=30b7359f-d8d9-8404-8dbe-5d1924d8709e\",\"contentUrl\":\"http:\/\/img.zemanta.com\/pixy.gif?x-id=30b7359f-d8d9-8404-8dbe-5d1924d8709e\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/pjq.me\/?p=750#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/pjq.me\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Android Browser zoom In\/Out \u5206\u6790\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/pjq.me\/#website\",\"url\":\"https:\/\/pjq.me\/\",\"name\":\"Jianqing&#039;s Blog\",\"description\":\"Thoughts and Future\",\"publisher\":{\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/pjq.me\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\",\"name\":\"pengjianqing\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png\",\"contentUrl\":\"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png\",\"width\":460,\"height\":752,\"caption\":\"pengjianqing\"},\"logo\":{\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/pjq.me\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Android Browser zoom In\/Out \u5206\u6790 - Jianqing&#039;s Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pjq.me\/?p=750","og_locale":"en_US","og_type":"article","og_title":"Android Browser zoom In\/Out \u5206\u6790 - Jianqing&#039;s Blog","og_description":"\u5f53\u6211\u4eec\u5728\u7528browser\u6d4f\u89c8\u7f51\u9875\u7684\u65f6\u5019\uff0c\u4e0a\u4e0b\u62d6\u52a8\u9875\u9762\uff0c\u5c31\u4f1a\u51fa\u73b0\u4e00\u4e2a\u653e\u5927\u7f29\u5c0f\u7684\u6309\u952e\u4e86\u3002 \u73b0\u5728\u8981\u5728browser\u4e0a\u505amulti-touch\uff0c\u53ef\u4ee5\u7528\u4e24\u4e2a\u624b\u6307\u5bf9\u9875\u9762\u8fdb\u884c\u653e\u5927\u7f29\u5c0f\u64cd\u4f5c\uff0c\u73b0\u5728\u65e2\u7136\u5df2\u7ecf\u5b58\u5728\u4e86\u73b0\u5728\u7684\u653e\u5927\u7f29\u5c0f\u529f\u80fd\uff0c\u6211\u53ea\u8981\u80fd\u591f \u627e\u5230\u5b83\u76f8\u5e94\u7684\u64cd\u4f5c\u5c31\u884c\u4e86\u3002 \u4e3b\u8981\u7684\u64cd\u4f5c\u90fd\u662f\u5728framework\u4e0b\u9762:WebView.java. \u5728\u7c7bWebView\u7684\u8bf4\u660e\u91cc\u5c31\u6709\u4e00\u6bb5\uff1a To enable the built-in zoom, set * {@link #getSettings() WebSettings}.{@link WebSettings#setBuiltInZoomControls(boolean)} \u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2a\u9009\u62e9\u5f00\u542f\u8fd8\u662f\u5173\u95edzoom\u529f\u80fd\u3002 \u5728\u67e5\u627e\u7684\u8fc7\u7a0b\u4e2d\u627e\u5230\u4e86\uff1a","og_url":"https:\/\/pjq.me\/?p=750","og_site_name":"Jianqing&#039;s Blog","article_published_time":"2009-09-25T05:55:07+00:00","article_modified_time":"2018-12-07T15:21:05+00:00","og_image":[{"url":"http:\/\/img.zemanta.com\/pixy.gif?x-id=30b7359f-d8d9-8404-8dbe-5d1924d8709e","type":"","width":"","height":""}],"author":"pengjianqing","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pengjianqing","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pjq.me\/?p=750#article","isPartOf":{"@id":"https:\/\/pjq.me\/?p=750"},"author":{"name":"pengjianqing","@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60"},"headline":"Android Browser zoom In\/Out \u5206\u6790","datePublished":"2009-09-25T05:55:07+00:00","dateModified":"2018-12-07T15:21:05+00:00","mainEntityOfPage":{"@id":"https:\/\/pjq.me\/?p=750"},"wordCount":63,"commentCount":0,"publisher":{"@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60"},"image":{"@id":"https:\/\/pjq.me\/?p=750#primaryimage"},"thumbnailUrl":"http:\/\/img.zemanta.com\/pixy.gif?x-id=30b7359f-d8d9-8404-8dbe-5d1924d8709e","articleSection":["Android"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pjq.me\/?p=750#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pjq.me\/?p=750","url":"https:\/\/pjq.me\/?p=750","name":"Android Browser zoom In\/Out \u5206\u6790 - Jianqing&#039;s Blog","isPartOf":{"@id":"https:\/\/pjq.me\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pjq.me\/?p=750#primaryimage"},"image":{"@id":"https:\/\/pjq.me\/?p=750#primaryimage"},"thumbnailUrl":"http:\/\/img.zemanta.com\/pixy.gif?x-id=30b7359f-d8d9-8404-8dbe-5d1924d8709e","datePublished":"2009-09-25T05:55:07+00:00","dateModified":"2018-12-07T15:21:05+00:00","breadcrumb":{"@id":"https:\/\/pjq.me\/?p=750#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pjq.me\/?p=750"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pjq.me\/?p=750#primaryimage","url":"http:\/\/img.zemanta.com\/pixy.gif?x-id=30b7359f-d8d9-8404-8dbe-5d1924d8709e","contentUrl":"http:\/\/img.zemanta.com\/pixy.gif?x-id=30b7359f-d8d9-8404-8dbe-5d1924d8709e"},{"@type":"BreadcrumbList","@id":"https:\/\/pjq.me\/?p=750#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pjq.me\/"},{"@type":"ListItem","position":2,"name":"Android Browser zoom In\/Out \u5206\u6790"}]},{"@type":"WebSite","@id":"https:\/\/pjq.me\/#website","url":"https:\/\/pjq.me\/","name":"Jianqing&#039;s Blog","description":"Thoughts and Future","publisher":{"@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pjq.me\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60","name":"pengjianqing","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pjq.me\/#\/schema\/person\/image\/","url":"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png","contentUrl":"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png","width":460,"height":752,"caption":"pengjianqing"},"logo":{"@id":"https:\/\/pjq.me\/#\/schema\/person\/image\/"},"url":"https:\/\/pjq.me\/?author=1"}]}},"views":2902,"_links":{"self":[{"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts\/750","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=750"}],"version-history":[{"count":0,"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts\/750\/revisions"}],"wp:attachment":[{"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=750"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=750"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=750"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}