Sunday, August 26, 2012

Re: [android-developers] Re: WebView / setBuiltinZoomControls / setOnTouchListener

I think WebView stops firing onTouch event once the zoom-controls are shown on web-view.
I receive touch events even after using pinch zoom, provided zoom-controls are not shown yet.

If it is not must to also show the on-screen zoom-controls, following can be used to solve the issue.
myWebView.getSettings().setDisplayZoomControls(false);

It just stops to show the controls, pinch-zoom support is still available. 

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate