beta 0.1.1
[DHBWCampusApp.git] / app / src / main / res / layout / fragment_vorlesungsplan_group.xml
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">
7
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">
14
15         <RelativeLayout
16             android:layout_width="match_parent"
17             android:layout_height="match_parent"
18             android:padding="8dp">
19
20
21             <TextView
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" />
29
30             <TextView
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" />
38
39             <TextView
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" />
46
47             <TextView
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" />
54
55             <TextView
56                 android:layout_width="wrap_content"
57                 android:layout_height="wrap_content"
58                 android:text="{date}"
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" />
64
65             <TextView
66                 android:layout_width="wrap_content"
67                 android:layout_height="wrap_content"
68                 android:text="{date}"
69                 android:id="@+id/lastEvent"
70                 android:layout_alignBottom="@+id/textView17"
71                 android:layout_alignLeft="@+id/nextEvent"
72                 android:layout_alignStart="@+id/nextEvent" />
73
74             <TextView
75                 android:layout_width="wrap_content"
76                 android:layout_height="wrap_content"
77                 android:text="{date}"
78                 android:id="@+id/klausurEvent"
79                 android:layout_alignBottom="@+id/klausurName"
80                 android:layout_alignLeft="@+id/nextEvent"
81                 android:layout_alignStart="@+id/nextEvent" />
82
83             <RelativeLayout
84                 android:layout_width="match_parent"
85                 android:layout_height="wrap_content"
86                 android:layout_below="@+id/klausurName"
87                 android:layout_marginTop="8dp">
88
89                 <TextView
90                     android:layout_width="wrap_content"
91                     android:layout_height="wrap_content"
92                     android:text="@string/vorlesungsplan_group_allevents"
93                     android:id="@+id/textView34" />
94
95                 <LinearLayout
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">
104
105                     <LinearLayout
106                         android:orientation="horizontal"
107                         android:layout_width="match_parent"
108                         android:layout_height="match_parent">
109
110                         <TextView
111                             android:layout_width="wrap_content"
112                             android:layout_height="wrap_content"
113                             android:text="&#8226;"
114                             android:id="@+id/textView35" />
115
116                         <TextView
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" />
122                     </LinearLayout>
123                 </LinearLayout>
124             </RelativeLayout>
125
126         </RelativeLayout>
127     </android.support.v7.widget.CardView>
128
129 </RelativeLayout>