title: landscape support of video using video view in android
body: <p>i am not able to change the orientation of my video in landscape mode. Here's my code:</p>
  
  <pre><code>VideoView videoView = (VideoView) findViewById(R.id.video_view);
      MediaController mediaController = new MediaController(this); //Creating the media controller
      mediaController.setAnchorView(videoView);
  
      //Specify the location of media file
      Uri uri = Uri.parse("android.resource://" + getPackageName() + "/"
              + R.raw.my_video);
  
      videoView.setMediaController(mediaController);
      videoView.setVideoURI(uri);
      videoView.requestFocus();
      videoView.start();
  
      videoView.setOnCompletionListener(this);
  </code></pre>
  
  <p>and in manifest i have added below lines:</p>
  
  <pre><code>android:configChanges="keyboard|orientation|screenSize"
          android:screenOrientation="landscape"
  </code></pre>
  
  <p>and with this it's not working. Thanks in advance!! :)</p>