{"id":3692,"date":"2016-08-27T12:06:09","date_gmt":"2016-08-27T17:06:09","guid":{"rendered":"https:\/\/justinparrtech.com\/JustinParr-Tech\/?p=3692"},"modified":"2016-08-27T12:06:09","modified_gmt":"2016-08-27T17:06:09","slug":"shortcut-pinch-to-zoom-in-android-emulator","status":"publish","type":"post","link":"https:\/\/justinparrtech.com\/JustinParr-Tech\/shortcut-pinch-to-zoom-in-android-emulator\/","title":{"rendered":"Shortcut:  Pinch to Zoom in Android Emulator"},"content":{"rendered":"<h1>Shortcut:\u00a0 Pinch to Zoom in Android Emulator<\/h1>\n<p>Also, pinch to zoom with one finger in Android<\/p>\n<p><em>This is known to work with Android Marshmallow.\u00a0 I have <span style=\"text-decoration: underline;\"><strong>not<\/strong><\/span> tried this with other versions, but I <span style=\"text-decoration: underline;\"><strong>have<\/strong><\/span> tried it on Bluestacks emulator as well as physical devices.<\/em><\/p>\n<p>&nbsp;<\/p>\n<h2>Problem:\u00a0 Can&#8217;t Pinch to Zoom in Android Emulator<\/h2>\n<p>When you do Android development, running an emulator is a necessity.\u00a0 In the emulator, the mouse simulates a touch event.\u00a0 Unfortunately, using only a mouse, you can&#8217;t &#8220;pinch to zoom&#8221; in or out.\u00a0 Although some laptop panels and computer monitors support touch input, this is expensive, and not a guaranteed solution.<\/p>\n<p>&nbsp;<\/p>\n<h2>Solution: Tap then Drag<\/h2>\n<p>Remember that the left mouse button simulates a virtual finger touching the display&#8230;<\/p>\n<ul>\n<li><strong>Tap:<\/strong>\u00a0 Click the mouse button (quickly press, then release the left mouse button)<\/li>\n<li><strong>Drag:<\/strong>\u00a0 Press the left mouse button and hold it down.\u00a0 Move the mouse to a desired location, then release the left mouse button.<\/li>\n<\/ul>\n<p><strong>In quick succession, Tap, then Drag<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3>Zoom Out<\/h3>\n<p>Starting at the bottom-middle of the display, tap, then drag up to the upper-right.<\/p>\n<div id=\"attachment_3695\" style=\"width: 490px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3695\" class=\"size-full wp-image-3695\" src=\"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-content\/uploads\/ZoomOut.png\" alt=\"Zoom Out: Click (A) then quickly touch and drag (B) from the bottom-middle to the upper-right.\" width=\"480\" height=\"288\" srcset=\"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-content\/uploads\/ZoomOut.png 480w, https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-content\/uploads\/ZoomOut-300x180.png 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><p id=\"caption-attachment-3695\" class=\"wp-caption-text\"><strong>Zoom Out<\/strong>: Tap on the bottom-middle (A) then quickly touch and drag (B) from the bottom-middle to the upper-right.<\/p><\/div>\n<p>&nbsp;<\/p>\n<h3>Zoom In<\/h3>\n<p>Starting at the upper-right of the display, tap, then drag down to the bottom-middle.<\/p>\n<div id=\"attachment_3697\" style=\"width: 490px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3697\" class=\"size-full wp-image-3697\" src=\"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-content\/uploads\/ZoomIn.png\" alt=\"Zoom In: Tap on the upper-left (C) then quickly touch and drag (D) from the upper-left to the bottom-middle\" width=\"480\" height=\"288\" srcset=\"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-content\/uploads\/ZoomIn.png 480w, https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-content\/uploads\/ZoomIn-300x180.png 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><p id=\"caption-attachment-3697\" class=\"wp-caption-text\"><strong>Zoom In<\/strong>: Tap on the upper-left (C) then quickly touch and drag (D) from the upper-left to the bottom-middle<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3>Caveats<\/h3>\n<ul>\n<li>This is known to work with applications that let you pan in both directions, such as Google Maps<\/li>\n<li>Although this effect seems to be built in to the OS, it might be difficult to trigger this effect in applications that explicitly scroll in one direction (such as vertical only).<\/li>\n<li>This approach might not work with applications that implement their own custom multi-touch logic.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Shortcut:\u00a0 Pinch to Zoom in Android Emulator Also, pinch to zoom with one finger in Android This is known to work with Android Marshmallow.\u00a0 I have not tried this with other versions, but I have tried it on Bluestacks emulator as well as physical devices. &nbsp; Problem:\u00a0 Can&#8217;t Pinch to Zoom in Android Emulator When [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"aside","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-3692","post","type-post","status-publish","format-aside","hentry","category-tech-support","post_format-post-format-aside"],"_links":{"self":[{"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/posts\/3692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/comments?post=3692"}],"version-history":[{"count":3,"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/posts\/3692\/revisions"}],"predecessor-version":[{"id":3698,"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/posts\/3692\/revisions\/3698"}],"wp:attachment":[{"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/media?parent=3692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/categories?post=3692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/tags?post=3692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}