diff options
Diffstat (limited to 'vdrmanager/res/layout/event_item.xml')
-rw-r--r-- | vdrmanager/res/layout/event_item.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/vdrmanager/res/layout/event_item.xml b/vdrmanager/res/layout/event_item.xml new file mode 100644 index 0000000..aab354a --- /dev/null +++ b/vdrmanager/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 |