An even more modern way of doing this (which better level of control) is
using touch-action for your elements:

http://docs.webplatform.org/wiki/css/properties/touch-action
http://www.chromestatus.com/features/5912074022551552


On Mon, Jun 23, 2014 at 3:18 AM, Min, Hongbo <[email protected]> wrote:

>  Hi, Tegon
>
>
>
> There is no API to disable zoom for XWalkView. Alternatively,  the web
> page could disable the zoom via meta tag by itself like the following:
>
>
>
> <meta name="viewport" content="width=device-width, initial-scale=1.0,
> maximum-scale=1.0, user-scalable=0">
>
>
>
> Does it meet your requirements? Thanks.
>
>
>
> Hongbo
>
>
>
> *From:* Crosswalk-help [mailto:
> [email protected]] *On Behalf Of *Leonardo
> Tegon
> *Sent:* Friday, June 20, 2014 9:34 AM
> *To:* [email protected]
> *Subject:* [Crosswalk-help] Disable zoom in XWalkView
>
>
>
> Hi everyone,
>
>
>
> I'm using XWalkView as a replacement of standard android webView, and its
> working very well.
>
> I can disable the zoom? I searched the documentation and example (
> https://crosswalk-project.org/apis/embeddingapidocs/reference/org/xwalk/core/package-summary.html,
>
> https://github.com/crosswalk-project/crosswalk/tree/master/runtime/android/sample)
> but found nothing about it.
>
>
>
> Thanks for the help
>
> _______________________________________________
> Crosswalk-help mailing list
> [email protected]
> https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
>
>


-- 
Kenneth Rohde Christiansen
Web Platform Architect, Intel Corporation.
Phone  +45 4294 9458 ﹆﹆﹆
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to