summaryrefslogtreecommitdiffstats
path: root/res/layout/calendar_event_item.xml
blob: 403b0767ce0a3b9fa420ea9c8ca8020bd71a61b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal">

    <LinearLayout
        android:layout_width="88dp"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:paddingTop="4dp"
        android:paddingBottom="4dp">

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="end"
            android:textSize="24sp"
            android:fontFamily="sans-serif-light"
            android:id="@+id/start_time"
            android:textColor="@color/calendar_text_primary"/>

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="end"
            android:textSize="12sp"
            android:layout_marginTop="-4dp"
            android:fontFamily="sans-serif-light"
            android:id="@+id/end_time"
            android:textColor="@color/calendar_text_secondary"/>

    </LinearLayout>

    <View
        android:layout_width="1dp"
        android:layout_height="match_parent"
        android:background="@color/calendar_text_secondary"
        android:layout_marginLeft="12dp"
        android:layout_marginRight="12dp"/>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:paddingTop="4dp">

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="start"
            android:textSize="18sp"
            android:id="@+id/event_title"
            android:layout_marginTop="1dp"
            android:fontFamily="sans-serif-light"
            android:textColor="@color/calendar_text_primary"/>

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="start"
            android:textSize="12sp"
            android:layout_marginTop="2dp"
            android:id="@+id/event_location"
            android:fontFamily="sans-serif-light"
            android:textColor="@color/calendar_text_secondary"/>

    </LinearLayout>

</LinearLayout>