From 5eab316b47712f3108660cf6b14afb3c22dcd01d Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 4 Sep 2018 15:11:00 +0000 Subject: [PATCH] Support viewport meta tag --- app/src/main/java/eu/faircode/email/FragmentWebView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentWebView.java b/app/src/main/java/eu/faircode/email/FragmentWebView.java index 04814874..cc2d2445 100644 --- a/app/src/main/java/eu/faircode/email/FragmentWebView.java +++ b/app/src/main/java/eu/faircode/email/FragmentWebView.java @@ -52,6 +52,7 @@ public class FragmentWebView extends FragmentEx { WebSettings settings = webview.getSettings(); settings.setJavaScriptEnabled(true); + settings.setUseWideViewPort(true); settings.setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW); final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());