Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,16 @@ public void run() {
mActivity.runOnUiThread(new LoadUrl(url));
}

public static void enableZoom() {
mActivity.runOnUiThread(new Runnable() {
@Override
public void run() {
mWebView.getSettings().setBuiltInZoomControls(true);
mWebView.getSettings().setDisplayZoomControls(false);
}
});
}

public static ViewGroup getLayout() {
return mLayout;
}
Expand Down