Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Does pinch/zoom work on android?

Titanium SDK: 1.4.1.1

I have a webview which opens an external url, here's the code

var webview = Titanium.UI.createWebView({});

if(win.myUrl)
{
    Titanium.API.debug("opening link:" + win.myUrl);
    webview.url = win.myUrl;
}
win.add(webview);

This code works fine and opens the external webpage, but the zoom/pinch doesn't work on android. On iphone everything works fine.

On Android the webpages open up zoomed in and pinch/zoom don't work.

Am I missing something?

I've tried doing : Titanium.UI.createWebView({scalesPageToFit:true}); which doesn't make a difference on android.

— asked October 8th 2010 by Mihir Mange
  • android
  • pinch
  • webview
  • zoom
0 Comments

1 Answer

  • Accepted Answer

    This is a known issue. Please put a watch on Ticket 1540 to see when it's implemented.

    — answered October 8th 2010 by Don Thorp
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.