android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/start_label"
- android:textAppearance="?android:attr/textAppearanceMedium" />
+ android:textAppearance="?android:attr/textAppearanceMedium"> </TextView>
<LinearLayout
android:layout_width="match_parent"
repeatSwitch.setOnCheckedChangeListener(new OnCheckedChangeListener(layout));
final EditText title = (EditText) findViewById(R.id.eventtitle);
+ title.requestFocus();
title.setText(event.title);
final TextView tstart = (TextView) findViewById(R.id.time_start);
Date s=new SimpleDateFormat("yyyy-MM-dd HH:mm").parse(start);
Date e=new SimpleDateFormat("yyyy-MM-dd HH:mm").parse(end);
event.dtstart=s.getTime();
- event.dtend=s.getTime();
+ event.dtend=e.getTime();
} catch (ParseException e) {
e.printStackTrace();
}