Android Question WEBVIEW I get a zoomed-in web page

Discussion in 'Android Questions' started by tigrot, Jan 30, 2015.

  1. tigrot

    tigrot Well-Known Member Licensed User

    Hi everybody!
    I have this issue: I get a zoomed-in page(very large chars) in a browseable web directory page. I'm not able to zoom-out, which is the first image under. If I call the page using Google official browser and get something like the second image.

    The first image from my APP:

    Screenshot_2015-01-30-10-41-03.png

    The second(same directory) directly from browser.

    Screenshot_2015-01-30-10-47-27.png

    I don't do anything alse but webview.loadUrl("URL")
    What I've missed?

    Best regards and thanks!

    Mauro Zanin
     
  2. Cableguy

    Cableguy Expert Licensed User

    Try forcing canzoom=false with webview extras lib..
     
  3. tigrot

    tigrot Well-Known Member Licensed User

    Let me give a try...
    Thank you!
     
  4. tigrot

    tigrot Well-Known Member Licensed User

    Can you kindly post the syntax for canzoom=false. I have seen the library, but was not able to see the property .

    Thank you...
     
  5. Cableguy

    Cableguy Expert Licensed User

    Sorry, my bad...
    same developers, same view... not extras but settings....
    see it here
     
  6. tigrot

    tigrot Well-Known Member Licensed User

    Thank you very much Paulo for driving me to the right direction: I solved the issue by:

    Code:
    Dim extra As WebViewSettings
    extra.setDefaultZoom(webview1,
    "FAR")

    Now I can more efficiently zoom the directory listing.
    Mauro
     
    Cableguy likes this.
  7. Cableguy

    Cableguy Expert Licensed User

    De Nada Mauro, estamos cá para nos ajudar uns aos outros!
     
  8. tigrot

    tigrot Well-Known Member Licensed User

    Tra latini ci si capisce! Grazie ancora!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice