1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2 xmlns:tools="http://schemas.android.com/tools"
3 xmlns:card_view="http://schemas.android.com/apk/res-auto"
4 android:layout_width="match_parent"
5 android:layout_height="match_parent"
6 tools:context="de.dhbwloe.campusapp.fragments.VorlesungsplanGroups">
8 <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
9 android:id="@+id/card_upcomingday"
10 android:layout_width="match_parent"
11 android:layout_height="wrap_content"
12 android:layout_margin="8dp"
13 card_view:cardCornerRadius="5dp">
16 android:layout_width="match_parent"
17 android:layout_height="match_parent"
18 android:padding="8dp">
22 android:layout_width="wrap_content"
23 android:layout_height="wrap_content"
24 android:text="{title}"
25 android:id="@+id/courseTitle"
26 android:layout_alignParentTop="true"
27 android:layout_alignParentLeft="true"
28 android:layout_alignParentStart="true" />
31 android:layout_width="wrap_content"
32 android:layout_height="wrap_content"
33 android:text="@string/vorlesungsplan_groups_nextevent"
34 android:id="@+id/textView16"
35 android:layout_below="@+id/courseTitle"
36 android:layout_marginLeft="12dp"
37 android:layout_marginTop="8dp" />
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:text="@string/vorlesungsplan_groups_lastevent"
43 android:id="@+id/textView17"
44 android:layout_below="@+id/textView16"
45 android:layout_marginLeft="12dp" />
48 android:layout_width="wrap_content"
49 android:layout_height="wrap_content"
50 android:text="@string/vorlesungsplan_groups_klausur"
51 android:id="@+id/klausurName"
52 android:layout_below="@+id/textView17"
53 android:layout_marginLeft="12dp" />
56 android:layout_width="wrap_content"
57 android:layout_height="wrap_content"
59 android:id="@+id/nextEvent"
60 android:layout_alignBottom="@+id/textView16"
61 android:layout_toRightOf="@+id/textView16"
62 android:layout_toEndOf="@+id/textView16"
63 android:layout_marginLeft="16dp" />
66 android:layout_width="wrap_content"
67 android:layout_height="wrap_content"
69 android:id="@+id/lastEvent"
70 android:layout_alignBottom="@+id/textView17"
71 android:layout_alignLeft="@+id/nextEvent"
72 android:layout_alignStart="@+id/nextEvent" />
75 android:layout_width="wrap_content"
76 android:layout_height="wrap_content"
78 android:id="@+id/klausurEvent"
79 android:layout_alignBottom="@+id/klausurName"
80 android:layout_alignLeft="@+id/nextEvent"
81 android:layout_alignStart="@+id/nextEvent" />
84 android:layout_width="match_parent"
85 android:layout_height="wrap_content"
86 android:layout_below="@+id/klausurName"
87 android:layout_marginTop="8dp">
90 android:layout_width="wrap_content"
91 android:layout_height="wrap_content"
92 android:text="@string/vorlesungsplan_group_allevents"
93 android:id="@+id/textView34" />
96 android:orientation="vertical"
97 android:layout_width="match_parent"
98 android:layout_height="wrap_content"
99 android:layout_below="@+id/textView34"
100 android:id="@+id/allEventsList"
101 android:layout_marginLeft="8dp"
102 android:layout_marginRight="8dp"
103 android:layout_marginBottom="8dp">
106 android:orientation="horizontal"
107 android:layout_width="match_parent"
108 android:layout_height="match_parent">
111 android:layout_width="wrap_content"
112 android:layout_height="wrap_content"
113 android:text="•"
114 android:id="@+id/textView35" />
117 android:layout_width="wrap_content"
118 android:layout_height="wrap_content"
119 android:text="{Vorlesung}"
120 android:id="@+id/textView36"
121 android:layout_marginLeft="4dp" />
127 </android.support.v7.widget.CardView>