Loading webview within application
<p>I am trying to load a web page within my application. </p>

<p>I have added the permission</p>

<p>In the xml layout I add the webview within my Relative Layout:</p>

<pre><code>&lt;WebView 
    android:id="@+id/webview"
    android:layout_marginLeft="250px"
         android:layout_marginTop="80px"
    android:layout_width="180px"
    android:layout_height="160dip"
/&gt;
</code></pre>

<p>I then call this within a button:</p>

<pre><code> WebView MyWebView = (WebView) findViewById(R.id.webview);        
                        MyWebView.getSettings().setJavaScriptEnabled(true);
                        MyWebView.loadUrl("http://www.stackoverflow.com");
</code></pre>

<p>But this opens a new browser within my application when I want it to only open it within the height and width.</p>

<p>Thanks </p>

<p>Edit: Forget this, it works now, I have moved my whole application to a new one and it works great :)</p>
