title: Activity not changing from portrait mode to landscape mode in android
body: <p>I am trying to change orientation from portrait to landscape for an Android activity. But it is not changing to landscape.</p>
  
  <p>I mention the activity in the manifest file as follows:</p>
  
  <pre><code>&lt;activity
      android:name=".OpenFileActivity"
      android:label="@string/app_name"
      android:configChanges="orientation|keyboardHidden"
      android:exported="false"&gt;
  </code></pre>
  
  <p>But I am unsuccessful. Can any one tell me why that is?</p>