From 997a022c9b1ee84c0a5e67bcab5b0e465075234c Mon Sep 17 00:00:00 2001 From: Andrew Stadler Date: Wed, 3 Nov 2010 15:31:08 -0700 Subject: [PATCH] Enable zooming in MessageView Bug: 2282390 Change-Id: Ie5be3c4adb8cc3bef5ccf4fccbfefe8a40872b17 --- src/com/android/email/activity/MessageViewFragmentBase.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/com/android/email/activity/MessageViewFragmentBase.java b/src/com/android/email/activity/MessageViewFragmentBase.java index ad4a18eb3..ac30f0256 100644 --- a/src/com/android/email/activity/MessageViewFragmentBase.java +++ b/src/com/android/email/activity/MessageViewFragmentBase.java @@ -320,8 +320,10 @@ public abstract class MessageViewFragmentBase extends Fragment implements View.O mInviteScroll = view.findViewById(R.id.invite_scroll); mMessageContentView.setVerticalScrollBarEnabled(false); - mMessageContentView.getSettings().setBlockNetworkLoads(true); - mMessageContentView.getSettings().setSupportZoom(false); + WebSettings webSettings = mMessageContentView.getSettings(); + webSettings.setBlockNetworkLoads(true); + webSettings.setSupportZoom(true); + webSettings.setBuiltInZoomControls(true); mMessageContentView.setWebViewClient(new CustomWebViewClient()); return view; }