title: WebView into a Fragment (android.support.v4)
body: <p>I got a tab menu using a <code>ViewPager</code>. Each tab contains fragments from android.support.v4 package (compatibility with old SDKs). One of the fragment is a <code>WebView</code> (called <code>FragmentWeb</code>) and I want it to stay into the pager layout. The problem is when my <code>WebView</code> is inflated, it runs in fullscreen mode.</p>
  
  <p>Is there a way to keep web browser under my tabs ?</p>
  
  <p>Thank you</p>
  
  <p>My Fragment Class : <strong>FragmentWeb.java</strong></p>
  
  <pre><code>public class FragmentWeb extends Fragment {
  
      public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
      View mainView = (View) inflater.inflate(R.layout.fragment_web, container, false);
      WebView webView = (WebView) mainView.findViewById(R.id.webview);
      webView.loadUrl("http://www.google.com");
      return mainView;
  }
  }
  </code></pre>
  
  <p>My Fragment's layout : <strong>fragment_web.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent" &gt;
  
      &lt;WebView
          android:id="@+id/webview"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>