]> iEval git - unical.git/commitdiff
Do some voodoo to fix crash
authorMarius Gavrilescu <marius@ieval.ro>
Thu, 11 Jul 2013 14:56:56 +0000 (17:56 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Thu, 11 Jul 2013 14:56:56 +0000 (17:56 +0300)
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
src/ro/ieval/unical/AddEventActivity.java

index 9568417392359cd2423fcac2d91b5ed3218fcbcc..6e334219d0e72b3159465289fe3b5a68949b760d 100644 (file)
@@ -16,7 +16,7 @@
     <string name="yes">Yes</string>
     <string name="no">No</string>
     <string name="askdeleteevent">Delete this event ?</string>
-    <string name="addeventtitle">New Event</string>
+    <string name="add_event_title">New Event</string>
     <string name="sunday">Sunday</string>
     <string name="monday">Monday</string>
     <string name="tuesday">Tuesday</string>
index 62afe13b269b6c11e3c63550394402f7d1433d44..3526d653a2a56d0640bbfc5b1b02841c974f0dd9 100644 (file)
@@ -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));
This page took 0.03095 seconds and 4 git commands to generate.