Enable zooming in MessageView

Bug: 2282390
Change-Id: Ie5be3c4adb8cc3bef5ccf4fccbfefe8a40872b17
This commit is contained in:
Andrew Stadler 2010-11-03 15:31:08 -07:00
parent ba4e72a947
commit 997a022c9b

View File

@ -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;
}