summaryrefslogtreecommitdiffstats
path: root/res/layout/calendar_event_item.xml
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2015-07-27 14:52:21 -0700
committerRaj Yengisetty <rajesh@cyngn.com>2015-07-27 14:52:21 -0700
commit8847eb7a1ddb0b19c0c79de6d867444a68654874 (patch)
tree26b692977e92d5821165a295e08d8d081d05f18d /res/layout/calendar_event_item.xml
parent8d355bd41dcb91c7bb1da5a31755381b49fa663e (diff)
downloadandroid_packages_apps_Trebuchet-staging/cmhome.tar.gz
android_packages_apps_Trebuchet-staging/cmhome.tar.bz2
android_packages_apps_Trebuchet-staging/cmhome.zip
Move CMHome into Trebuchetstaging/cmhome
Change-Id: I781d10319d183cfb6acca5926ebf64920caf570e
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