beta 0.1.1
[DHBWCampusApp.git] / app / src / main / res / layout / fragment_vorlesungsplan_exams_exam.xml
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">
6
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">
13
14         <RelativeLayout
15             android:layout_width="match_parent"
16             android:layout_height="match_parent"
17             android:padding="8dp">
18
19
20             <TextView
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" />
28
29             <TextView
30                 android:layout_width="wrap_content"
31                 android:layout_height="wrap_content"
32                 android:text="@string/vorlesungsplan_exam_date"
33                 android:id="@+id/textView16"
34                 android:layout_below="@+id/courseTitle"
35                 android:layout_marginLeft="12dp"
36                 android:layout_marginTop="8dp" />
37
38             <TextView
39                 android:layout_width="wrap_content"
40                 android:layout_height="wrap_content"
41                 android:text="@string/vorlesungsplan_exam_location"
42                 android:id="@+id/textView17"
43                 android:layout_below="@+id/textView16"
44                 android:layout_marginLeft="12dp" />
45
46             <TextView
47                 android:layout_width="wrap_content"
48                 android:layout_height="wrap_content"
49                 android:text="@string/vorlesungsplan_exam_start"
50                 android:id="@+id/textView18"
51                 android:layout_below="@+id/textView17"
52                 android:layout_marginLeft="12dp" />
53
54             <TextView
55                 android:layout_width="wrap_content"
56                 android:layout_height="wrap_content"
57                 android:text="@string/vorlesungsplan_exam_end"
58                 android:id="@+id/klausurName"
59                 android:layout_below="@+id/textView18"
60                 android:layout_marginLeft="12dp" />
61
62             <TextView
63                 android:layout_width="wrap_content"
64                 android:layout_height="wrap_content"
65                 android:text="{date}"
66                 android:id="@+id/eventDate"
67                 android:layout_alignBottom="@+id/textView16"
68                 android:layout_toRightOf="@+id/textView16"
69                 android:layout_toEndOf="@+id/textView16"
70                 android:layout_marginLeft="16dp" />
71
72             <TextView
73                 android:layout_width="wrap_content"
74                 android:layout_height="wrap_content"
75                 android:text="{location}"
76                 android:id="@+id/eventLocation"
77                 android:layout_alignTop="@+id/textView17"
78                 android:layout_alignLeft="@+id/eventDate"
79                 android:layout_alignStart="@+id/eventDate" />
80
81             <TextView
82                 android:layout_width="wrap_content"
83                 android:layout_height="wrap_content"
84                 android:text="{date}"
85                 android:id="@+id/eventStart"
86                 android:layout_alignLeft="@+id/eventDate"
87                 android:layout_alignStart="@+id/eventDate"
88                 android:layout_alignBottom="@+id/textView18" />
89
90             <TextView
91                 android:layout_width="wrap_content"
92                 android:layout_height="wrap_content"
93                 android:text="{date}"
94                 android:id="@+id/eventEnd"
95                 android:layout_alignBottom="@+id/klausurName"
96                 android:layout_alignLeft="@+id/eventDate"
97                 android:layout_alignStart="@+id/eventDate" />
98
99         </RelativeLayout>
100     </android.support.v7.widget.CardView>
101
102 </RelativeLayout>