0

I have made an android app with webview, but the width is more than the phone. I want to have the website fullscreen, so you must not scroll left/right.

I can't see the whole page. How is this possible?

Preview: https://i.stack.imgur.com/Xlq6D.png

Who can help me?

keyser
  • 18,829
  • 16
  • 59
  • 101
Marv
  • 33
  • 11

1 Answers1

0

Try

myWebView.getSettings().setUseWideViewPort(true);

see WebSettings

Tells the WebView to use a wide viewport. The default is false.

Ken Wolf
  • 23,133
  • 6
  • 63
  • 84
  • Try this: (http://stackoverflow.com/questions/3808532/how-to-set-the-initial-zoom-width-for-a-webview) – Ken Wolf Jun 03 '13 at 07:20