title: Navigate back from settings activity
body: <p>I'm playing around with Android Studio so I created a SettingsActivity using the wizard and I'm faced with the problem that it is not possible to navigate from this settings activity back to the main activity using the "up" arrow in the Actionbar. </p>
  
  <p>The setup of the Actionbar looks like this: </p>
  
  <pre><code>private void setupActionBar() {
      ActionBar actionBar = getSupportActionBar();
      if (actionBar != null) {
          // Show the Up button in the action bar.
          actionBar.setDisplayShowHomeEnabled(true);
          actionBar.setDisplayHomeAsUpEnabled(true);
      }
  }
  </code></pre>
  
  <p>Actionbar is not null btw.<br>
  And the parentActitvityName is set in the AndroidManifest:</p>
  
  <pre><code> &lt;activity
          android:name=".SettingsActivity"
          android:label="@string/title_activity_settings"
          android:parentActivityName=".MainActivity"&gt;
          &lt;meta-data
              android:name="android.support.PARENT_ACTIVITY"
              android:value="com.demo.app.MainActivity" /&gt;
   &lt;/activity&gt;
  </code></pre>
  
  <p>However, a click on the arrow does nothing. Not even onOptionsItemSelected gets triggered. </p>
  
  <p>Seems like this is exactly the same problem
  <a href="https://stackoverflow.com/questions/18716499/action-bar-setdisplayhomeasupenabled-not-working-on-ics">Action bar setDisplayHomeAsUpEnabled not working on ICS</a> but navigating back from a detail to an overview activity is working fine in the very same app. Moreover I set MinSDK to 15 and TargetSDK to 23.</p>