简体   繁体   中英

How to hide zoom controller from Android Studio Bumblebee?

On running Android emulator in latest Android Studio Bumbleebee, I'm seeing these controls on top of it. How can I hide or remove them?

在此处输入图像描述

You should use WebSettings and set setDisplayZoomControls to false. This will allow the user to still use the pinch to zoom but the controls will not be displayed.

'''myWebView.getSettings().setDisplayZoomControls(false);'''

Click the gear icon "show options menu" in top right of emulator pane, then toggle "show zoom controls"

In emulator section's setting icon you can see the options of "Show Zoom Controls". Using that you can enable/disable the zoom controls. 在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM