From: Marius Gavrilescu Date: Thu, 11 Jul 2013 14:56:56 +0000 (+0300) Subject: Do some voodoo to fix crash X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=f2e460f4b70e9daaa25af567fe665eeecd58714f;p=unical.git 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. --- 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));