title: Android: How do you display Webview inside Tabview?
body: <p>xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;WebView
   xmlns:android="http://schemas.android.com/apk/res/android"
   android:id="@+id/myWebView"
   android:layout_width="wrap_content"
   android:layout_height="wrap_content" /&gt;
  </code></pre>
  
  <p>java</p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.webview);
    WebView webView = (WebView) findViewById(R.id.myWebView);  
    webView.getSettings().setJavaScriptEnabled(true);
       webView.loadUrl("http://www.google.com");
   }
  </code></pre>
  
  <p>tabview xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;TabHost xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@android:id/tabhost" android:layout_width="fill_parent"
      android:layout_height="fill_parent"&gt;
      &lt;LinearLayout android:orientation="vertical"
          android:layout_width="fill_parent" android:layout_height="fill_parent"
          android:padding="5dp"&gt;
          &lt;TabWidget android:id="@android:id/tabs"
              android:layout_width="fill_parent" android:layout_height="wrap_content" /&gt;
          &lt;FrameLayout android:id="@android:id/tabcontent"
              android:layout_width="fill_parent" android:layout_height="fill_parent"
              android:padding="5dp" /&gt;
      &lt;/LinearLayout&gt;
  &lt;/TabHost&gt;
  </code></pre>
  
  <p>Tabview java</p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.tabview);
  
          Resources res = getResources(); // Resource object to get Drawables
          TabHost tabHost = getTabHost(); // The activity TabHost
          TabHost.TabSpec spec; // Resusable TabSpec for each tab
          Intent intent; // Reusable Intent for each tab
  
  
          intent = new Intent().setClass(this, WebActivity.class);
          spec = tabHost.newTabSpec("webview")
                  .setIndicator("webview", res.getDrawable(R.drawable.info))
                  .setContent(intent);
          tabHost.addTab(spec);
  
                  // add other tabs
  
          tabHost.setCurrentTab(0);
      }
  </code></pre>
  
  <p>This will launch a webView in full screen.
  <br>Is it possible to display webview inside the tabview?</p>