summaryrefslogtreecommitdiff
path: root/vdrmanager/res/layout/epg_event_item.xml
blob: 3001d43f3b07e0280119201260cf0c787457154b (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
<?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>