title: Unable to add web view dynamically...?
body: <p>I want to add a web view dynamically into a linear layout.</p>
  
  <p>I used the following code.</p>
  
  <pre><code>WebView web = new WebView(con);
              web.setId(1);
              web.getSettings().setJavaScriptEnabled(true);
              web.loadUrl(Settings.liveAddUrl);
              layout.addView(web, new LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.FILL_PARENT));
              break;
  </code></pre>
  
  <p>But, its opening browser instead of showing the content in the defined web view.</p>
  
  <p>How to avoid this behavior and make it to show url contents in defined web view...?</p>
  
  <p>Thanks in advance..!</p>