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">
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">
15 android:layout_width="match_parent"
16 android:layout_height="match_parent">
20 android:layout_width="wrap_content"
21 android:layout_height="wrap_content"
23 android:id="@+id/timeFrom"
24 android:layout_marginLeft="8dp" />
27 android:layout_width="wrap_content"
28 android:layout_height="wrap_content"
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" />
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
41 android:id="@+id/timeTo"
42 android:layout_alignParentTop="true"
43 android:layout_toRightOf="@+id/textView1"
44 android:layout_toEndOf="@+id/textView1" />
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
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" />
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" />
71 </android.support.v7.widget.CardView>