Allow home button to back out to previous activity

This commit is contained in:
Branden Archer
2016-05-21 22:44:40 -04:00
parent 1c8ef34b8a
commit 0aa1804258

View File

@@ -267,6 +267,10 @@ public class LoyaltyCardViewActivity extends AppCompatActivity
switch(id)
{
case android.R.id.home:
finish();
break;
case R.id.action_delete:
Log.e(TAG, "Deleting card: " + loyaltyCardId);