Enable zooming in MessageView
Bug: 2282390 Change-Id: Ie5be3c4adb8cc3bef5ccf4fccbfefe8a40872b17
This commit is contained in:
parent
ba4e72a947
commit
997a022c9b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user