title: Keeping background the same when sliding activities with overridependingtransition()
body: <p>I am sliding from one activity to another by using this code.</p>
  
  <pre><code>overridePendingTransition(R.anim.enter_from_right, R.anim.exit_out_left);
  </code></pre>
  
  <p>This works great when the backgrond is a solid color.  But, my background is not a solid color.  Below is my background.</p>
  
  <p><img src="https://i.stack.imgur.com/7wdnv.png" alt="enter image description here"></p>
  
  <p>So when this background slides from right to left, you notice the transition.  I want the only thing to be noticed that is moving are the Buttons, TextViews, etc.  How can I accomplish this?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Based on Matt's comments (another Matt, not me) I created a Splash Activity and set the background of it to the clouds background.  I then removed the clouds background from all the other activities.  When the SplashScreen transitions to the MainMenu class, here is what displays:</p>
  
  <p><img src="https://i.stack.imgur.com/rqOJk.png" alt="enter image description here"></p>
  
  <p>So basically I am seeing the homescreen of the emulator where all the apps reside.  Below is my new <code>AndroidManifest.xml</code>.</p>
  
  <pre><code>&lt;application
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name"
      android:theme="@style/AppTheme" &gt;
      &lt;activity 
          android:name=".SplashScreen"
          android:screenOrientation="portrait" &gt;
          &lt;intent-filter&gt;
              &lt;action 
                  android:name="android.intent.action.MAIN" /&gt;
              &lt;category 
                  android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
      &lt;activity
          android:label="@string/app_name"
          android:name=".MainMenu"
          android:screenOrientation="portrait" 
          android:theme="@android:style/Theme.Translucent.NoTitleBar" /&gt;
      &lt;activity
          android:label="@string/app_name"
          android:name=".Levels"
          android:screenOrientation="portrait" 
          android:theme="@android:style/Theme.Translucent.NoTitleBar" /&gt;
  </code></pre>
  
  <p>I added this to my <code>styles.xml</code>.</p>
  
  <pre><code>&lt;style name="Theme.Transparent" parent="android:Theme"&gt;
      &lt;item name="android:windowIsTranslucent"&gt;true&lt;/item&gt;
      &lt;item name="android:windowBackground"&gt;@android:color/transparent&lt;/item&gt;
      &lt;item name="android:windowContentOverlay"&gt;@null&lt;/item&gt;
      &lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
      &lt;item name="android:windowIsFloating"&gt;true&lt;/item&gt;
      &lt;item name="android:backgroundDimEnabled"&gt;false&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p><strong>EDIT #2</strong></p>
  
  <p>I am slowly making progress.  Now the SplashScreen launches and then transitions into the MainActivity perfectly.  The transitions to other screens, for example when I click the Play button, is not quite correct yet.  They transition without the background changing but the previous transparent activity stays there and all the transparent activities start stacking on top of each other.  Is there a way to "dismiss" the transparent activities when a new intent/activity is started so they don't overlap and stack on top of each other?</p>
  
  <p><img src="https://i.stack.imgur.com/LopRr.png" alt="enter image description here"></p>