title: Video view rotate 90 degree in android
body: <p>I want to rotate video in 90 degree.</p>
  
  <p>Current i rotate layout but video can't play.
  xml </p>
  
  <pre><code>&lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:orientation="horizontal"
          android:rotation="90" &gt;
  
          &lt;VideoView
              android:id="@+id/videoView"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent" /&gt;
      &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>java</p>
  
  <pre><code>videoView = (VideoView) findViewById(R.id.videoView);
  
            final Uri videoUri = Uri.parse(
                 Environment.getExternalStorageDirectory().getAbsolutePath()+"/UnoPlayList/restaurant_menu_pro_mkv.mkv");
  
         videoView.setVideoPath(Environment.getExternalStorageDirectory().getAbsolutePath()+"/UnoPlayList/restaurant_menu_pro_mkv.mkv");
         //videoView.setRotation(180);
      //  videoView.setVideoURI(videoUri);
        videoView.start();
  </code></pre>
  
  <p>Is there any way to rotate video.</p>
  
  <p>example:
  <a href="https://play.google.com/store/apps/details?id=com.mycall.videorotate&amp;hl=en" rel="noreferrer">https://play.google.com/store/apps/details?id=com.mycall.videorotate&amp;hl=en</a></p>
  
  <p>Please help me.</p>