summaryrefslogtreecommitdiffstats
path: root/res/layout/calendar_event_item.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/calendar_event_item.xml')
-rw-r--r--res/layout/calendar_event_item.xml70
1 files changed, 70 insertions, 0 deletions
diff --git a/res/layout/calendar_event_item.xml b/res/layout/calendar_event_item.xml
new file mode 100644
index 000000000..403b0767c
--- /dev/null
+++ b/res/layout/calendar_event_item.xml
@@ -0,0 +1,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> \ No newline at end of file