Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable zoom #6

Closed
tbuckley opened this issue Jan 27, 2018 · 4 comments
Closed

Enable zoom #6

tbuckley opened this issue Jan 27, 2018 · 4 comments

Comments

@tbuckley
Copy link
Owner

Right now the webview doesn't support pinch-to-zoom.

@astromme
Copy link
Contributor

astromme commented Feb 3, 2018

what's required to make zoom work? I've been annoyed by this a few times in the past week.

@tbuckley
Copy link
Owner Author

Same. I thought WebSettings.setSupportZoom(true) was enough [1], but apparently not.

[1] https://github.com/tbuckley/brakes/blob/master/app/src/main/java/com/example/tbuckley/brakes/WebViewActivity.java#L81

@tbuckley
Copy link
Owner Author

I believe I also need to include:
WebSettings.setBuiltInZoomControls(true);

@tbuckley
Copy link
Owner Author

Submitted this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants