summaryrefslogtreecommitdiff
path: root/vdrmanager/res/layout/epg_event_item.xml
blob: 2dbd8a88bb0e4426c2a2f598f7a3a5382fbe60a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?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="5dp" android:paddingBottom="2dp"
	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="2dip" 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:textAppearance="?android:textAppearanceMedium"
			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:background="@android:drawable/list_selector_background"
			android:textAppearance="?android:textAppearanceMedium"
			android:layout_height="wrap_content" />

	</LinearLayout>

	<LinearLayout android:layout_width="fill_parent" android:padding="3dip" android:paddingBottom="1dip"
		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_width="wrap_content" android:layout_height="fill_parent"
			android:layout_centerVertical="true" android:visibility="gone" />

		<TextView android:id="@+id/timer_item_shorttext" android:textAppearance="?android:textAppearanceSmall"
			android:text="timer_short_text"
			android:ellipsize="end"
			android:layout_width="wrap_content" android:layout_weight="1"
			android:layout_height="wrap_content" />

		<TextView android:id="@+id/timer_item_duration"
			android:ellipsize="end" android:layout_width="wrap_content" android:gravity="right" 	android:textSize="13dip"
			android:layout_height="wrap_content" android:text="89min"/>

	</LinearLayout>

	<TextView android:id="@+id/event_item_description"
			android:layout_width="wrap_content"
			android:textAppearance="?android:textAppearanceSmall"
			android:visibility="gone"
			android:textSize="12dip"
			android:padding="3dip"
			android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>