android:orientation="vertical" >
<ImageView
+ android:contentDescription="@+string/asd"
android:id="@+id/imageView1"
android:scaleType="fitXY"
android:layout_width="match_parent"
android:src="@android:drawable/title_bar_tall" />
<LinearLayout
+ android:baselineAligned="false"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:text="@string/descriptionlabel"
android:textStyle="bold"
android:textAppearance="?android:attr/textAppearanceLarge" />
+ <TextView
+ android:id="@+id/event_view_description"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ />
</LinearLayout>
\ No newline at end of file
final TextView endDate= (TextView) findViewById(R.id.enddate);
final TextView startTime= (TextView) findViewById(R.id.starttime);
final TextView endTime= (TextView) findViewById(R.id.endtime);
+ final TextView description= (TextView) findViewById(R.id.event_view_description);
final Date start=new Date(e.dtstart);
final Date end=new Date(e.dtend);
startDate.setText(dateFormat.format(start));
startTime.setText(timeFormat.format(start));
endTime.setText(timeFormat.format(end));
+ description.setText(e.description);
}
@Override