title: Android: Video stretches on orientation change
body: <p>I'm showing a video in a videoview:</p>
  
  <p>In my XML:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:gravity="center"
    android:layout_height="fill_parent"&gt;
  
      &lt;VideoView
      android:layout_gravity="center"
      android:id="@+id/videoview_player"
      android:layout_width="wrap_content"
       android:layout_height="wrap_content" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>It looked like this works perfect. The video resizes itself so the screen is filled, while the video remains it's aspect ratio. </p>
  
  <p>But on tablets, after like 30 - 60 seconds in portrait orientation, the video stretches to full screen. (It doesn't maintain the aspect ratio, it stretches the height) </p>
  
  <p>Like this:</p>
  
  <p><img src="https://i.stack.imgur.com/I7s7F.png" alt="enter image description here"></p>