From f2e460f4b70e9daaa25af567fe665eeecd58714f Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Thu, 11 Jul 2013 17:56:56 +0300 Subject: [PATCH] Do some voodoo to fix crash For some reason, the previous commit crashes when compiled for debug, but works fine when compiled for release. Changing the name of a string in values/strings.xml fixes this. I have no idea why this works. --- res/values/strings.xml | 2 +- src/ro/ieval/unical/AddEventActivity.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 9568417..6e33421 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -16,7 +16,7 @@ Yes No Delete this event ? - New Event + New Event Sunday Monday Tuesday diff --git a/src/ro/ieval/unical/AddEventActivity.java b/src/ro/ieval/unical/AddEventActivity.java index 62afe13..3526d65 100644 --- a/src/ro/ieval/unical/AddEventActivity.java +++ b/src/ro/ieval/unical/AddEventActivity.java @@ -23,7 +23,7 @@ public final class AddEventActivity extends Activity implements OnDateSetListene protected void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.add_event); - setTitle(R.string.addeventtitle); + setTitle(R.string.add_event_title); final ActionBar actionBar = getActionBar(); actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); final ActionBar.Tab t1 = actionBar.newTab().setText(this.getString(R.string.addevtab1)); -- 2.39.2