title: Screen Blinks when Screen Orientation Changes in Android?
body: <p>I have two Activities <code>A</code> and <code>B</code>. I have declared the <code>screenOrientation</code> for <code>A</code> as portrait and for <code>B</code> as landscape in the manifest file. I am starting the Activity from <code>A</code> to <code>B</code>. when I am starting the Activity <code>A</code> as well as finishing the Activity <code>B</code>, My Screen is blinking. I have set that <code>configChanges</code> for both activities as <code>orientation</code> . </p>
  
  <p>this is the Manifest code snippet:</p>
  
  <pre><code>&lt;application
  &lt;activity android:name=".A"
              android:label="@string/app_name" android:theme="@style/MyTheme"
              android:screenOrientation="portrait" android:windowSoftInputMode="stateAlwaysHidden|adjustUnspecified"
              android:configChanges="orientation" /&gt;
  &lt;activity android:name=".B"
              android:label="@string/app_name" android:theme="@style/MyTheme"
              android:screenOrientation="landscape" android:windowSoftInputMode="stateAlwaysHidden|adjustUnspecified"
              android:configChanges="orientation" /&gt;
  
  &lt;/application&gt;
  </code></pre>
  
  <p>Is there any idea to resolve this issue??? </p>
  
  <p>Thanks in Advance.</p>