title: Android - Top Back Button not working
body: <p>I have this button on the topmost left part. And for some reason it is not going back to it's previous page when I click it. I've checked the other links already but it is not working. </p>
  
  <p><a href="https://i.stack.imgur.com/yJolK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yJolK.png" alt="the one on the top left button"></a></p>
  
  <p>The activity code on that one </p>
  
  <pre><code>public class CardListActivity extends Activity  {
      private static final String LOG_TAG = CardListActivity.class.getSimpleName();
      private EventBus eventBus;
      private Activity activity;
      private CardListRequest cardListRequest;
  
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      init();
  
  }
  
  public void init() {
      Log.e(LOG_TAG, "XXXX Start : init XXXX");
      setUpActionBar();
      activity = this;
      setContentView(R.layout.activity_card_list);
  
  
      Log.e(LOG_TAG, "XXXX Finish : init XXXX");
  }
  
  private void setUpActionBar() {
      getActionBar().setTitle(CardListActivity.class.getSimpleName());
      getActionBar().setDisplayHomeAsUpEnabled(true);
  }
  
  
  }
  </code></pre>
  
  <p>AndroidManifest.xml</p>
  
  <p>...</p>
  
  <pre><code>    &lt;activity
          android:name=".CardListActivity"
          android:label="@string/title_activity_card_list"
          android:parentActivityName=".HomeActivity2"&gt;
          &lt;meta-data
              android:name="android.support.PARENT_ACTIVITY"
              android:value="com.pw.mccdealsapp.HomeActivity2" /&gt;
      &lt;/activity&gt;
  </code></pre>
  
  <p>...</p>