title: android webview taking up entire screen
body: <p>Im very new to developing android applications and im messing around with making a basic web browser. So far Ive got it more or less working how I want it to. The problem im encountering is that some websites load full screen and cover up my buttons and editText for URL. For example websites like reddit.com or notcot.org display in the given area fort the webview but websites like facebook.com or yahoo.com will reload and take up the entire screen covering my buttons and editText bar leaving me to use the emulator back button and not the one I made. Im really not sure what the issue is since it only seems to happen with some sites and not other. 
  here is the XML:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:gravity="center"
  android:orientation="vertical"
  tools:context=".ShowWeb" 
  &gt;
  
  &lt;LinearLayout
      android:id="@+id/linear1"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:orientation="horizontal" 
  &gt;
      &lt;ImageButton
          android:id="@+id/backButton"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="top"
          android:background="@null"
          android:onClick="onClick"
          android:src="@drawable/leftarrow" 
      /&gt;
  
      &lt;EditText
          android:id="@+id/editText1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="top"
          android:layout_marginLeft="10dp"
          android:background="@color/white"
          android:hint="@string/hint"
          android:inputType="textUri" 
          android:isScrollContainer="true"
          android:maxWidth="225dp"
          android:scrollHorizontally="true"/&gt;
  
     &lt;ImageButton
          android:id="@+id/goButton"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginLeft="5dp"
           android:layout_marginRight="5dp"
          android:background="@null"
          android:layout_gravity="center"
          android:onClick="onClick"
          android:src="@drawable/go" 
      /&gt;
  
      &lt;ImageButton
          android:id="@+id/forwardButton"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="top"
          android:background="@null"
          android:onClick="onClick"
          android:src="@drawable/rightarrow" 
       /&gt;   
  
    &lt;/LinearLayout&gt;
  
     &lt;WebView
         android:id="@+id/webBrowser"
         android:layout_width="match_parent"
         android:layout_height="match_parent"
         android:layout_below="@+id/linear1" 
     /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>and the Java code is </p>
  
  <pre><code>import java.net.MalformedURLException;
  import java.net.URL;
  import android.app.Activity;
  import android.os.Bundle;
  import android.view.KeyEvent;
  import android.view.Menu;
  import android.view.View;
  import android.view.View.OnClickListener;
  import android.webkit.WebView;
  import android.widget.EditText;
  import android.widget.ImageButton;
  
  public class ShowWeb extends Activity implements OnClickListener 
  {
  ImageButton forward,back,go;
  WebView wv;
  String urlString;
  EditText et;
  
  
  @Override
  protected void onCreate(Bundle savedInstanceState) 
  {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_show_web);
      forward = (ImageButton)findViewById(R.id.forwardButton);
      forward.setOnClickListener(this);
      back = (ImageButton)findViewById(R.id.backButton);
      back.setOnClickListener(this);
      go = (ImageButton)findViewById(R.id.goButton);
      go.setOnClickListener(this);
      wv=(WebView)findViewById(R.id.webBrowser);
      wv.setInitialScale(50);
      wv.setVerticalScrollBarEnabled(true);
      wv.setHorizontalScrollBarEnabled(true);
      wv.loadUrl("http://www.google.com");
      et=(EditText)findViewById(R.id.editText1);
      et.setHorizontalScrollBarEnabled(true);
      et.setOnKeyListener(new View.OnKeyListener() 
      {
           public boolean onKey(View v, int keyCode, KeyEvent event) 
           {
           if((event.getAction()==KeyEvent.ACTION_DOWN)&amp;&amp; 
                   keyCode==KeyEvent.KEYCODE_ENTER)
           { 
               try
               {
                 URL url = new URL(et.getText().toString());
                 urlString=url.toString();
                 wv.setInitialScale(50);
                 wv.loadUrl(urlString);
  
               }
               catch(MalformedURLException e)
               {
                  urlString = et.getText().toString(); 
                  wv.setInitialScale(50);
                  wv.loadData(urlString, "text/html", "UTF-8");
  
  
               }
               return true;
           }        
           else    
               return false;
           }
      }
      );
      wv.getSettings().setJavaScriptEnabled(true);
  
  }
  
  @Override
  public boolean onCreateOptionsMenu(Menu menu) 
  {
      // Inflate the menu; this adds items to the action bar if it is present.
      getMenuInflater().inflate(R.menu.show_web, menu);
      return true;
  }
  
  
  @Override
  public void onClick(View v) 
  {
      switch(v.getId()) 
      {
          case R.id.forwardButton:
              if(wv.canGoForward())
                  wv.goForward();
                  et.setText(wv.getUrl());
              break;
          case R.id.backButton:
              if(wv.canGoBack())
                  wv.goBack();
                  et.setText(wv.getUrl());
  
              break;
              case R.id.goButton:
              wv.setInitialScale(50);
              wv.loadUrl(urlString);
  
      }
  
  }
  
  }
  </code></pre>
  
  <p>Thanks for any tips or advice on whatever im just not seeing. </p>