diff options
author | git-vdr <herrlado@gmail.com> | 2011-10-04 01:56:35 +0200 |
---|---|---|
committer | git-vdr <herrlado@gmail.com> | 2011-10-04 01:56:35 +0200 |
commit | db8177ec1fa3683fdf9b1c459be57df21edd3fce (patch) | |
tree | 9fbafffad96f176b94d8a72a22fd9ef1e08dd9df /vdrmanager/res/layout/epg_event_item.xml | |
parent | a1069beee7a98787d679f831e595b2673c6099a2 (diff) | |
download | vdr-manager-db8177ec1fa3683fdf9b1c459be57df21edd3fce.tar.gz vdr-manager-db8177ec1fa3683fdf9b1c459be57df21edd3fce.tar.bz2 |
new icons, layout changes, etc
Diffstat (limited to 'vdrmanager/res/layout/epg_event_item.xml')
-rw-r--r-- | vdrmanager/res/layout/epg_event_item.xml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/vdrmanager/res/layout/epg_event_item.xml b/vdrmanager/res/layout/epg_event_item.xml new file mode 100644 index 0000000..3001d43 --- /dev/null +++ b/vdrmanager/res/layout/epg_event_item.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout 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="3dp" android:paddingTop="5dp" android:paddingBottom="8dp" + android:orientation="vertical"> + +<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" + android:background="@android:drawable/list_selector_background" +> +<TextView + android:id="@+id/timer_item_channel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:text="Sky Film" android:textSize="17dip"/> + + <ProgressBar + android:id="@+id/timer_progress" android:layout_width="fill_parent" + android:indeterminate="false" android:layout_height="3dip" android:layout_marginTop="3dip" + style="?android:attr/progressBarStyleHorizontal" android:visibility="gone" /> + + <LinearLayout android:layout_width="fill_parent" + android:layout_height="wrap_content" android:layout_marginTop="0dip"> + + <TextView android:id="@+id/timer_item_time" android:textSize="17dip" + android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@android:drawable/list_selector_background" + android:gravity="left" android:text="22:33" android:paddingRight="5dip" /> + + <TextView android:id="@+id/timer_item_title" android:text="timer_item_title" android:layout_weight="1" android:textStyle="bold" + android:ellipsize="end" android:layout_width="wrap_content" android:textSize="17dip" android:background="@android:drawable/list_selector_background" + android:layout_height="wrap_content" /> + + </LinearLayout> + + <LinearLayout android:layout_width="fill_parent" + android:layout_height="wrap_content" android:layout_marginTop="0dip" + android:orientation="horizontal"> + + <ImageView android:id="@+id/timer_item_state" android:layout_marginRight="5dip" android:layout_marginBottom="2dip" + android:layout_width="wrap_content" android:layout_height="fill_parent" android:background="@android:drawable/list_selector_background" + android:layout_centerVertical="true" android:visibility="gone" /> + + <TextView android:id="@+id/timer_item_shorttext" android:textSize="15dip" + android:text="timer_short_text" android:ellipsize="end" android:background="@android:drawable/list_selector_background" + android:layout_alignLeft="@id/timer_item_title" android:layout_width="wrap_content" android:layout_weight="1" + android:layout_height="wrap_content" /> + + <TextView android:id="@+id/timer_item_duration" android:background="@android:drawable/list_selector_background" + android:ellipsize="end" android:layout_width="wrap_content" android:gravity="right" android:textSize="13dip" + android:layout_height="wrap_content" android:text="89min"/> + + </LinearLayout> +</LinearLayout> +</LinearLayout>
\ No newline at end of file |