title: Why is my Webview resizing itself?
body: <p>I'm a noob to android development and my webview resizes itself whenever i try to play video.  In order to make the webview play video i had to add the line of code:   </p>
  
  <pre><code>youtube.getSettings().setPluginState(PluginState.ON);
  </code></pre>
  
  <p>In my layout, I have my webview above a listview. However, now when the webview plays video it becomes fullscreen and covers listview.  this was not happening before i added the line above.  How do I stop my webview from resizing itself?  Any help is greatly appreciated?</p>
  
  <p>Here is my layout</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="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical"
  android:id="@+id/LLvideos" &gt;
  
  
  &lt;WebView
          android:id="@+id/webViewyoutube"
          android:layout_width="match_parent"
          android:layout_height="350dp" &gt;
      &lt;/WebView&gt;
  
  &lt;!-- List view --&gt;
  &lt;ListView
      android:id="@+id/videolist"
      android:layout_width="fill_parent"
      android:layout_height="200dp"
      android:layout_alignParentLeft="true"
      android:layout_alignParentTop="true"
      android:divider="#00000000"
      android:dividerHeight="0dp" &gt;
  &lt;/ListView&gt;
  </code></pre>
  
  <p></p>
  
  <p>Here is my video link</p>
  
  <pre><code>youtube.loadUrl("http://link.brightcove.com/services/player/bcpid1683318714001?bckey=AQ~~,AAAAC59qSJk~,vyxcsD3OtBPHZ2UIrFX2-wdCLTYNyMNn&amp;bclid=1644543007001&amp;bctid=1858951133001");
  </code></pre>