summaryrefslogtreecommitdiff
path: root/vdrmanager/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'vdrmanager/res/layout')
-rw-r--r--vdrmanager/res/layout/epg_event_item.xml15
-rw-r--r--vdrmanager/res/layout/header_item.xml8
-rw-r--r--vdrmanager/res/layout/timer_detail.xml47
3 files changed, 44 insertions, 26 deletions
diff --git a/vdrmanager/res/layout/epg_event_item.xml b/vdrmanager/res/layout/epg_event_item.xml
index bf54b10..e4fd6a6 100644
--- a/vdrmanager/res/layout/epg_event_item.xml
+++ b/vdrmanager/res/layout/epg_event_item.xml
@@ -1,7 +1,7 @@
<?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: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"
@@ -31,20 +31,21 @@
</LinearLayout>
- <LinearLayout android:layout_width="fill_parent" android:padding="3dip"
+ <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_marginBottom="2dip"
- android:layout_width="wrap_content" android:layout_height="fill_parent" android:background="@android:drawable/list_selector_background"
+ <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:background="@android:drawable/list_selector_background"
- android:layout_alignLeft="@id/timer_item_title" android:layout_width="wrap_content" android:layout_weight="1"
+ 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:background="@android:drawable/list_selector_background"
+ <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"/>
diff --git a/vdrmanager/res/layout/header_item.xml b/vdrmanager/res/layout/header_item.xml
new file mode 100644
index 0000000..0ca07d6
--- /dev/null
+++ b/vdrmanager/res/layout/header_item.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+android:text="Header"
+android:layout_margin="2dip" android:paddingLeft="4dip" android:paddingRight="4dip"
+android:background="#444444"
+android:textAppearance="?android:textAppearanceMedium"
+android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/header_item"/>
+
diff --git a/vdrmanager/res/layout/timer_detail.xml b/vdrmanager/res/layout/timer_detail.xml
index 0aa5da7..1374e68 100644
--- a/vdrmanager/res/layout/timer_detail.xml
+++ b/vdrmanager/res/layout/timer_detail.xml
@@ -3,6 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
+ android:paddingLeft="10.0dip" android:paddingRight="10.0dip"
android:orientation="vertical">
<ScrollView
@@ -18,23 +19,18 @@
android:orientation="vertical">
<TextView
- android:id="@+id/timer_detail_channel_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textStyle="bold"
+ android:paddingLeft="4.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip"
android:text="@string/timer_detail_channel_title"/>
<EditText
android:id="@+id/timer_detail_channel"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:editable="false"/>
+ android:enabled="false"
+ />
<TextView
- android:id="@+id/timer_detail_title_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textStyle="bold"
+ android:paddingLeft="4.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip"
android:text="@string/timer_detail_title_title"/>
<EditText
@@ -43,9 +39,7 @@
android:layout_height="wrap_content"/>
<TextView
- android:id="@+id/timer_detail_start_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:paddingLeft="4.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip"
android:text="@string/timer_detail_start_title"/>
<LinearLayout
@@ -68,10 +62,8 @@
</LinearLayout>
<TextView
- android:id="@+id/timer_detail_end_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/timer_detail_end_title"/>
+ android:paddingLeft="4.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip"
+ android:text="@string/timer_detail_end_title"/>
<EditText
android:id="@+id/timer_detail_end"
@@ -89,11 +81,28 @@
</ScrollView>
+<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" >
+
+ <Button
+ android:id="@+id/timer_details_cancel"
+ android:layout_width="0dip" android:layout_height="fill_parent"
+ android:layout_weight="1"
+ android:text="@android:string/cancel"/>
+
+ <Button
+ android:id="@+id/timer_details_modify"
+ android:layout_width="0dip" android:layout_height="fill_parent"
+ android:layout_weight="1"
+ android:visibility="gone"
+ android:text="@string/timer_details_save_title"/>
+
+
<Button
android:id="@+id/timer_details_save"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
+ android:layout_width="0dip" android:layout_height="fill_parent"
+ android:layout_weight="1"
android:text="@string/timer_details_create_title"/>
+
+ </LinearLayout>
</LinearLayout>