alpha 0.0.1
[DHBWCampusApp.git] / app / src / main / res / layout / fragment_vorlesungsplan_groups_course.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_groups_nextevent"
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_groups_lastevent"
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_groups_klausur"
50                 android:id="@+id/klausurName"
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="{date}"
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" />
63
64             <TextView
65                 android:layout_width="wrap_content"
66                 android:layout_height="wrap_content"
67                 android:text="{date}"
68                 android:id="@+id/lastEvent"
69                 android:layout_alignBottom="@+id/textView17"
70                 android:layout_alignLeft="@+id/nextEvent"
71                 android:layout_alignStart="@+id/nextEvent" />
72
73             <TextView
74                 android:layout_width="wrap_content"
75                 android:layout_height="wrap_content"
76                 android:text="{date}"
77                 android:id="@+id/klausurEvent"
78                 android:layout_alignBottom="@+id/klausurName"
79                 android:layout_alignLeft="@+id/nextEvent"
80                 android:layout_alignStart="@+id/nextEvent" />
81
82         </RelativeLayout>
83     </android.support.v7.widget.CardView>
84
85 </RelativeLayout>