title: Orientation change during playing video in Android
body: <p>I am working on a project in which I have to change the screen orientation to landscape as the video starts in onCreate() method and as soon as the video ends I have to again switch back to the portrait mode using two different layouts for different orientation without recreating the activity. I am using ExoPlayer for video play.</p>
  
  <p>Thanks in advance!!</p>