Klausurübersicht hinzugefügt
[DHBWCampusApp.git] / app / src / main / res / layout / fragment_vorlesungsplan_exams_exam.xml
diff --git a/app/src/main/res/layout/fragment_vorlesungsplan_exams_exam.xml b/app/src/main/res/layout/fragment_vorlesungsplan_exams_exam.xml
new file mode 100644 (file)
index 0000000..15cb59b
--- /dev/null
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:card_view="http://schemas.android.com/apk/res-auto"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent">
+
+    <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
+        android:id="@+id/card_upcomingday"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:layout_margin="8dp"
+        card_view:cardCornerRadius="5dp">
+
+        <RelativeLayout
+            android:layout_width="match_parent"
+            android:layout_height="match_parent"
+            android:padding="8dp">
+
+
+            <TextView
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:text="{title}"
+                android:id="@+id/courseTitle"
+                android:layout_alignParentTop="true"
+                android:layout_alignParentLeft="true"
+                android:layout_alignParentStart="true" />
+
+            <TextView
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:text="@string/vorlesungsplan_exam_date"
+                android:id="@+id/textView16"
+                android:layout_below="@+id/courseTitle"
+                android:layout_marginLeft="12dp"
+                android:layout_marginTop="8dp" />
+
+            <TextView
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:text="@string/vorlesungsplan_exam_start"
+                android:id="@+id/textView17"
+                android:layout_below="@+id/textView16"
+                android:layout_marginLeft="12dp" />
+
+            <TextView
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:text="@string/vorlesungsplan_exam_end"
+                android:id="@+id/klausurName"
+                android:layout_below="@+id/textView17"
+                android:layout_marginLeft="12dp" />
+
+            <TextView
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:text="{date}"
+                android:id="@+id/eventDate"
+                android:layout_alignBottom="@+id/textView16"
+                android:layout_toRightOf="@+id/textView16"
+                android:layout_toEndOf="@+id/textView16"
+                android:layout_marginLeft="16dp" />
+
+            <TextView
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:text="{date}"
+                android:id="@+id/eventStart"
+                android:layout_alignBottom="@+id/textView17"
+                android:layout_alignLeft="@+id/eventDate"
+                android:layout_alignStart="@+id/eventDate" />
+
+            <TextView
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:text="{date}"
+                android:id="@+id/eventEnd"
+                android:layout_alignBottom="@+id/klausurName"
+                android:layout_alignLeft="@+id/eventDate"
+                android:layout_alignStart="@+id/eventDate" />
+
+        </RelativeLayout>
+    </android.support.v7.widget.CardView>
+
+</RelativeLayout>
\ No newline at end of file