title: Android - Problem in using the Google pdf viewer in webview
body: <p>I have seen lot of threads about loading a PDF in Android Webview. But I didn't see the issue what I am getting.</p>
  
  <p>I am using Google PDF viewer to load the URL in the Webview which will give a PDF as response.</p>
  
  <p>I am setting the following properties to my webview</p>
  
  <pre><code>mWebview.setWebViewClient(new WebViewClient());
  mWebview.setVerticalScrollBarEnabled(false);
  mWebview.getSettings().setJavaScriptEnabled(true);  
  Webview.getSettings().setDefaultZoom(ZoomDensity.MEDIUM);
  
  
  String url = "http://docs.google.com/viewer?embedded=true&amp;url=" + "my url";
  mWebview.loadUrl(url); 
  </code></pre>
  
  <p>I am able load the PDF with the above given code. The issue I have is, </p>
  
  <p>Once after loading the full page, a empty line is keep on getting inserted in top and bottom of page. So my page is looking like the one given below.</p>
  
  <pre><code>empty line
  empty line
  empty line
  ....
  pdf content
  empty line
  empty line
  empty line
  ....
  </code></pre>
  
  <p>The page is keep on increasing with empty lines.</p>