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