1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:card_view="http://schemas.android.com/apk/res-auto"
4 android:layout_width="match_parent"
5 android:layout_height="match_parent">
7 <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
8 android:id="@+id/card_upcomingday"
9 android:layout_width="match_parent"
10 android:layout_height="wrap_content"
11 android:layout_margin="8dp"
12 card_view:cardCornerRadius="5dp">
15 android:layout_width="match_parent"
16 android:layout_height="match_parent"
17 android:padding="8dp">
21 android:layout_width="wrap_content"
22 android:layout_height="wrap_content"
23 android:text="{title}"
24 android:id="@+id/courseTitle"
25 android:layout_alignParentTop="true"
26 android:layout_alignParentLeft="true"
27 android:layout_alignParentStart="true" />
30 android:layout_width="wrap_content"
31 android:layout_height="wrap_content"
32 android:text="@string/vorlesungsplan_groups_nextevent"
33 android:id="@+id/textView16"
34 android:layout_below="@+id/courseTitle"
35 android:layout_marginLeft="12dp"
36 android:layout_marginTop="8dp" />
39 android:layout_width="wrap_content"
40 android:layout_height="wrap_content"
41 android:text="@string/vorlesungsplan_groups_lastevent"
42 android:id="@+id/textView17"
43 android:layout_below="@+id/textView16"
44 android:layout_marginLeft="12dp" />
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:text="@string/vorlesungsplan_groups_klausur"
50 android:id="@+id/klausurName"
51 android:layout_below="@+id/textView17"
52 android:layout_marginLeft="12dp" />
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
58 android:id="@+id/nextEvent"
59 android:layout_alignBottom="@+id/textView16"
60 android:layout_toRightOf="@+id/textView16"
61 android:layout_toEndOf="@+id/textView16"
62 android:layout_marginLeft="16dp" />
65 android:layout_width="wrap_content"
66 android:layout_height="wrap_content"
68 android:id="@+id/lastEvent"
69 android:layout_alignBottom="@+id/textView17"
70 android:layout_alignLeft="@+id/nextEvent"
71 android:layout_alignStart="@+id/nextEvent" />
74 android:layout_width="wrap_content"
75 android:layout_height="wrap_content"
77 android:id="@+id/klausurEvent"
78 android:layout_alignBottom="@+id/klausurName"
79 android:layout_alignLeft="@+id/nextEvent"
80 android:layout_alignStart="@+id/nextEvent" />
83 </android.support.v7.widget.CardView>