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.
<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>
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));