From fe124dad0cc70556bdee5cf1fd9cce64d5fe5717 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Fri, 11 Nov 2022 11:39:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=94=AF=E4=BB=98=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2H5=E5=8F=AF=E7=BC=A9=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/main/activity/WalletFragment.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main/src/main/java/com/yunbao/main/activity/WalletFragment.java b/main/src/main/java/com/yunbao/main/activity/WalletFragment.java index e9f37978a..9afb322e2 100644 --- a/main/src/main/java/com/yunbao/main/activity/WalletFragment.java +++ b/main/src/main/java/com/yunbao/main/activity/WalletFragment.java @@ -62,10 +62,10 @@ public class WalletFragment extends Fragment { webSettings.setJavaScriptEnabled(true); // 是否开启JS支持 webSettings.setJavaScriptCanOpenWindowsAutomatically(true); // 是否允许JS打开新窗口 // -// webSettings.setUseWideViewPort(true); // 缩放至屏幕大小 -// webSettings.setLoadWithOverviewMode(true); // 缩放至屏幕大小 -// webSettings.setSupportZoom(true); // 是否支持缩放 -// webSettings.setBuiltInZoomControls(true); // 是否支持缩放变焦,前提是支持缩放 + webSettings.setUseWideViewPort(true); // 缩放至屏幕大小 + webSettings.setLoadWithOverviewMode(true); // 缩放至屏幕大小 + webSettings.setSupportZoom(true); // 是否支持缩放 + webSettings.setBuiltInZoomControls(true); // 是否支持缩放变焦,前提是支持缩放 // webSettings.setDisplayZoomControls(false); // 是否隐藏缩放控件 // // webSettings.setAllowFileAccess(true); // 是否允许访问文件