title: Android Webview - Webpage must fit the screen
body: <p>I have tried the following to fit the web page based on the device screen size. But after code the text fields and drop down buttons are not working. Can anyone help me?</p>
  
  <pre><code>WebView myWebView;
  
  @SuppressWarnings("deprecation")
  @SuppressLint("SetJavaScriptEnabled")
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  
       myWebView = (WebView) findViewById(R.id.webview);         
       WebSettings webSettings = myWebView.getSettings();
       webSettings.setJavaScriptEnabled(true);
       myWebView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN);
       myWebView.getSettings().setPluginState(PluginState.ON);
       myWebView.loadUrl("http://m.immigrer.com/potentiel"); 
  
       myWebView.setWebViewClient(new myWebViewClient());
  }
  </code></pre>