title: Changing a view's orientation and making it full screen
body: <p>I am doing a video player application and want to add full screen feature. Currently I am using a layout like youtube's and my video is playing in a <code>videoView</code> and it is completely alright. </p>
  
  <p>I want to toggle the orientation of this <code>videoView</code> and stretch it to make it full screen.</p>
  
  <p>Here what I have tried;</p>
  
  <pre><code>((ViewManager)VideoView.getParent()).removeView(VideoView);
  frameLayout.addView(VideoView); 
  </code></pre>
  
  <ul>
  <li>I have wrapped my layout with Frame Layout</li>
  <li>I removed my 'VideoView" and add it to the Frame Layout</li>
  </ul>
  
  <p>I berely achieved the result but in this case video is stopping. It's like all the <code>VideoView</code> became useless. When I remove it, it tries to send message to a Handler on a dead thread and stops working.</p>
  
  <p>My question is,</p>
  
  <p>Is there any way to change the parent of a view without removing it?
  or Is there a better option to make this view full screen? </p>
  
  <p>Note: The type of this VideoView is Exo Media Video View, I used the library below <a href="https://github.com/brianwernick/ExoMedia" rel="nofollow">https://github.com/brianwernick/ExoMedia</a></p>