Web View in a Fragment - Android
<p>How can I load a web view into a fragment?</p>

<p>I've tried the obvious but it opens a new browser and my nav disappears: </p>

<pre><code>public View onCreateView(LayoutInflater inflater, ViewGroup group, Bundle saved)
{

View mainView = (View) inflater.inflate(R.layout.frag_a, group, false);
    myWebView = (WebView) mainView.findViewById(R.id.webview);
   myWebView.loadUrl("http://www.bbc.co.uk");
    return mainView;

}
</code></pre>

<p>I've also search stack overflow and the web, tried some of the examples but they do not work either, any help would be appreciated.</p>

<p>Thanks</p>
