beta 0.1.1
[DHBWCampusApp.git] / app / src / main / res / layout / fragment_vorlesungsplan_group.xml
diff --git a/app/src/main/res/layout/fragment_vorlesungsplan_group.xml b/app/src/main/res/layout/fragment_vorlesungsplan_group.xml
new file mode 100644 (file)
index 0000000..66023e3
--- /dev/null
@@ -0,0 +1,129 @@
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:tools="http://schemas.android.com/tools"
+    xmlns:card_view="http://schemas.android.com/apk/res-auto"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    tools:context="de.dhbwloe.campusapp.fragments.VorlesungsplanGroups">
+
+    <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_groups_nextevent"
+                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_groups_lastevent"
+                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_groups_klausur"
+                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/nextEvent"
+                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/lastEvent"
+                android:layout_alignBottom="@+id/textView17"
+                android:layout_alignLeft="@+id/nextEvent"
+                android:layout_alignStart="@+id/nextEvent" />
+
+            <TextView
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:text="{date}"
+                android:id="@+id/klausurEvent"
+                android:layout_alignBottom="@+id/klausurName"
+                android:layout_alignLeft="@+id/nextEvent"
+                android:layout_alignStart="@+id/nextEvent" />
+
+            <RelativeLayout
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_below="@+id/klausurName"
+                android:layout_marginTop="8dp">
+
+                <TextView
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:text="@string/vorlesungsplan_group_allevents"
+                    android:id="@+id/textView34" />
+
+                <LinearLayout
+                    android:orientation="vertical"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_below="@+id/textView34"
+                    android:id="@+id/allEventsList"
+                    android:layout_marginLeft="8dp"
+                    android:layout_marginRight="8dp"
+                    android:layout_marginBottom="8dp">
+
+                    <LinearLayout
+                        android:orientation="horizontal"
+                        android:layout_width="match_parent"
+                        android:layout_height="match_parent">
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:text="&#8226;"
+                            android:id="@+id/textView35" />
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:text="{Vorlesung}"
+                            android:id="@+id/textView36"
+                            android:layout_marginLeft="4dp" />
+                    </LinearLayout>
+                </LinearLayout>
+            </RelativeLayout>
+
+        </RelativeLayout>
+    </android.support.v7.widget.CardView>
+
+</RelativeLayout>