alpha 0.0.1
[DHBWCampusApp.git] / app / src / main / res / layout / fragment_vorlesungsplan_upcoming_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
18
19             <TextView
20                 android:layout_width="wrap_content"
21                 android:layout_height="wrap_content"
22                 android:text="{from}"
23                 android:id="@+id/timeFrom"
24                 android:layout_marginLeft="8dp" />
25
26             <TextView
27                 android:layout_width="wrap_content"
28                 android:layout_height="wrap_content"
29                 android:text="-"
30                 android:id="@+id/textView1"
31                 android:layout_alignParentTop="true"
32                 android:layout_toRightOf="@+id/timeFrom"
33                 android:layout_toEndOf="@+id/timeFrom"
34                 android:layout_marginLeft="4dp"
35                 android:layout_marginRight="4dp" />
36
37             <TextView
38                 android:layout_width="wrap_content"
39                 android:layout_height="wrap_content"
40                 android:text="{to}"
41                 android:id="@+id/timeTo"
42                 android:layout_alignParentTop="true"
43                 android:layout_toRightOf="@+id/textView1"
44                 android:layout_toEndOf="@+id/textView1" />
45
46             <TextView
47                 android:layout_width="wrap_content"
48                 android:layout_height="wrap_content"
49                 android:text="{room}"
50                 android:id="@+id/location"
51                 android:layout_alignParentTop="true"
52                 android:layout_alignParentRight="true"
53                 android:layout_alignParentEnd="true"
54                 android:layout_marginRight="8dp"
55                 android:password="false" />
56
57             <TextView
58                 android:layout_width="wrap_content"
59                 android:layout_height="wrap_content"
60                 android:text="{title}"
61                 android:id="@+id/courseTitle"
62                 android:layout_below="@+id/timeFrom"
63                 android:layout_alignLeft="@+id/timeFrom"
64                 android:layout_alignStart="@+id/timeFrom"
65                 android:layout_marginLeft="12dp"
66                 android:layout_marginRight="12dp"
67                 android:layout_marginTop="4dp"
68                 android:layout_marginBottom="8dp" />
69
70         </RelativeLayout>
71     </android.support.v7.widget.CardView>
72
73 </RelativeLayout>