- case R.id.NewEvent:
- final Intent i=new Intent(this,AddEventActivity.class);
- startActivity(i);
- return true;
- case R.id.deleteevent:
- final DeleteEventDialog d=new DeleteEventDialog(event,this);
- d.show(getFragmentManager(), "Delete");
- return true;
- case R.id.eventlist:
- final Intent it=new Intent(this,EventListActivity.class);
- startActivity(it);
- return true;
- default:
- return true;
+ case R.id.deleteevent:
+ final DeleteEventDialog d=new DeleteEventDialog(event,this);
+ 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(DisplayEventActivity.this,event);
+ return true;
+ case R.id.add_alarm:
+
+ return true;
+ default:
+ return true;