title: How to change webview content size?
body: <p>I have main class of the program with the following code</p>
  
  <pre><code>public class HTMLViewActivity extends Activity {
      private WebView web;
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
          DisplayMetrics metrics = this.getResources().getDisplayMetrics();
          int width = metrics.widthPixels;
          int height = metrics.heightPixels;
          web = (WebView) findViewById(R.id.webView1);
          web.setLayoutParams(new LinearLayout.LayoutParams( width , height));
          web.getSettings().setJavaScriptEnabled(true);
          web.getSettings().setRenderPriority(RenderPriority.HIGH);
          web.getSettings().setDomStorageEnabled(true);
          web.getSettings().setDatabaseEnabled(true);
          web.getSettings().setDatabasePath("/data/data/" + "web" + "/databases/");
          web.getSettings().setAppCacheEnabled(true);
          web.setSoundEffectsEnabled(true);
          web.setKeepScreenOn(true);
          web.clearView();
          web.measure(10, 10);
          web.loadUrl("http://www.fullscreenmario.com/stable/mario.html");
      }
  }
  </code></pre>
  
  <p>When I load page in this webview it is very big, and I cant change this. In mobile Chrome it has normal size</p>
  
  <p><img src="https://dl.dropboxusercontent.com/u/27865855/Screenshot_2013-10-24-20-03-53.png" alt="enter image description here">
  <img src="https://dl.dropboxusercontent.com/u/27865855/Screenshot_2013-10-24-20-04-39.png" alt="enter image description here"></p>