title: When I click back arrow made on title bar instead of going to previous panel it goes out of the application?
body: <p>.When I click "back arrow"on the titlebar it has to move back from TeacherAdminPanel to StudentAdminPanel but it goes out of system,  I have tried a lot but cannot solve this, as myself introduce as a beginner for android.Please help me!</p>
  
  <pre><code> &lt;activity
    android:name=".teacher_admin_panel"
    android:label="TeacherAdminPanel"
    android:parentActivityName=".Student_AdminPanel"/&gt;
   //This is the code for Androidmanifest.xml
  
  
    getSupportActionBar().setDisplayHomeAsUpEnabled(true);
      getSupportActionBar().setDisplayShowHomeEnabled(true);
   //This is the code for backarrow in the TeacherAdminPanel
  </code></pre>