title: How to change activity hierarchy?
body: <p>I build a project with many activities. Every time, when I was creating new activity, I set a hierarchy parent. But I decided to make an activity with animation, which should be first. I tried to change some information inside manifest file and set the new one activity as the starting activity, but I'm doing something wrong and all the project is crushing. Ofc, I will be keep going and trying to change the manifest file, but maybe I can do that in an easier way using Eclipse tools? </p>
  
  <p>--EDIT--
  I solved my problem, it was a quite small mistake. I was just setting wrong layout and forget to change one more thing. I'm not a specialist yet on this topic, but maybe for other readers I will put here some information how to change the hierarchy using manifest file. If I will make any mistakes here, feel free to edit.</p>
  
  <p>Ok, so let's suppose we have our project with a few activities. Inside Manifest file we can find some information about activities, this informations are between markers: . So, it may looks like:</p>
  
  <pre><code>&lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name="com.example.mastermind.MainActivity"
              android:label="@string/app_name" &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:name="com.example.mastermind.StartGameActivity"
              android:label="@string/title_activity_start_game"
              android:parentActivityName="com.example.mastermind.MainActivity" &gt;
              &lt;meta-data
                  android:name="android.support.PARENT_ACTIVITY"
                  android:value="com.example.mastermind.MainActivity" /&gt;
          &lt;/activity&gt;
  &lt;activity
              android:name="com.example.mastermind.NewActivity"
              android:label="@string/title_new_activity" &gt;
          &lt;/activity&gt;
  </code></pre>
  
  <p>Now we want to change the MainActivity, which is the first one and set as the first one the NewActivity. We only need to change the name of activity which contains markers:</p>
  
  <pre><code>&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;
  </code></pre>
  
  <p>for the name of NewActivity and also set it's layout, like this:</p>
  
  <pre><code>&lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name="com.example.mastermind.NewActivity"
              android:label="@string/title_new_activity" &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:name="com.example.mastermind.StartGameActivity"
              android:label="@string/title_activity_start_game"
              android:parentActivityName="com.example.mastermind.MainActivity" &gt;
              &lt;meta-data
                  android:name="android.support.PARENT_ACTIVITY"
                  android:value="com.example.mastermind.MainActivity" /&gt;
          &lt;/activity&gt;
  &lt;activity
              android:name="com.example.mastermind.MainActivity"
              android:label="@string/app_name" &gt;
          &lt;/activity&gt;
  </code></pre>
  
  <p>That should be Ok. </p>