summaryrefslogtreecommitdiff
path: root/androvdr/res/layout/event_item.xml
diff options
context:
space:
mode:
Diffstat (limited to 'androvdr/res/layout/event_item.xml')
-rw-r--r--androvdr/res/layout/event_item.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/androvdr/res/layout/event_item.xml b/androvdr/res/layout/event_item.xml
new file mode 100644
index 0000000..aab354a
--- /dev/null
+++ b/androvdr/res/layout/event_item.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/timer_item"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:padding="5dp">
+
+ <ImageView
+ android:id="@+id/timer_item_state"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"/>
+
+ <TextView
+ android:id="@+id/timer_item_time"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toRightOf="@id/timer_item_state"
+ android:gravity="left"/>
+
+ <TextView
+ android:id="@+id/timer_item_channel"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_toRightOf="@id/timer_item_time"
+ android:gravity="right"/>
+
+ <TextView
+ android:id="@+id/timer_item_title"
+ android:ellipsize="end"
+ android:gravity="left"
+ android:layout_toRightOf="@id/timer_item_state"
+ android:layout_below="@id/timer_item_time"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"/>
+
+</RelativeLayout> \ No newline at end of file