From 5f71502fa3d0e4a942dbb776a697a5f84d1c72dc Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Wed, 21 Aug 2013 15:51:52 +0300 Subject: [PATCH] Better display event menu --- res/menu/event.xml | 36 ++++++++----------- res/values/strings.xml | 3 +- src/ro/ieval/unical/DisplayEventActivity.java | 4 --- 3 files changed, 17 insertions(+), 26 deletions(-) diff --git a/res/menu/event.xml b/res/menu/event.xml index 9b40a38..abef50d 100644 --- a/res/menu/event.xml +++ b/res/menu/event.xml @@ -1,26 +1,20 @@ - + + - + + - - - - - - - - + + diff --git a/res/values/strings.xml b/res/values/strings.xml index edc2770..c491c2c 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -46,10 +46,11 @@ years Refresh Stop Alarm - Edit Event + Edit event Add alarm Delete Alarms + Delete event Day diff --git a/src/ro/ieval/unical/DisplayEventActivity.java b/src/ro/ieval/unical/DisplayEventActivity.java index 18f6ef9..31e0626 100644 --- a/src/ro/ieval/unical/DisplayEventActivity.java +++ b/src/ro/ieval/unical/DisplayEventActivity.java @@ -112,10 +112,6 @@ public class DisplayEventActivity extends Activity { d.setArguments(b); d.show(getFragmentManager(), "Delete"); - return true; - case R.id.eventlist: - final Intent it=new Intent(this, EventListActivity.class); - startActivity(it); return true; case R.id.edit_event: AddEventActivity.editEvent(this, event); -- 2.39.2