summaryrefslogtreecommitdiff
path: root/vdrmanager/res
diff options
context:
space:
mode:
Diffstat (limited to 'vdrmanager/res')
-rw-r--r--vdrmanager/res/drawable-hdpi/icon.pngbin0 -> 4147 bytes
-rw-r--r--vdrmanager/res/drawable-ldpi/icon.pngbin0 -> 1723 bytes
-rw-r--r--vdrmanager/res/drawable-mdpi/icon.pngbin0 -> 2574 bytes
-rw-r--r--vdrmanager/res/drawable/channels.gifbin0 -> 106 bytes
-rw-r--r--vdrmanager/res/drawable/settings.gifbin0 -> 104 bytes
-rw-r--r--vdrmanager/res/drawable/timer_active.pngbin0 -> 202 bytes
-rw-r--r--vdrmanager/res/drawable/timer_inactive.pngbin0 -> 232 bytes
-rw-r--r--vdrmanager/res/drawable/timer_none.pngbin0 -> 102 bytes
-rw-r--r--vdrmanager/res/drawable/timer_recording.pngbin0 -> 248 bytes
-rw-r--r--vdrmanager/res/drawable/timers.gifbin0 -> 86 bytes
-rw-r--r--vdrmanager/res/drawable/vdr_logo.jpgbin0 -> 12240 bytes
-rw-r--r--vdrmanager/res/drawable/whatson.gifbin0 -> 107 bytes
-rw-r--r--vdrmanager/res/layout/channel_item.xml21
-rw-r--r--vdrmanager/res/layout/channel_list.xml10
-rw-r--r--vdrmanager/res/layout/epg_detail.xml84
-rw-r--r--vdrmanager/res/layout/epg_list.xml50
-rw-r--r--vdrmanager/res/layout/epg_search.xml32
-rw-r--r--vdrmanager/res/layout/epg_search_times_item.xml8
-rw-r--r--vdrmanager/res/layout/epg_search_times_list.xml25
-rw-r--r--vdrmanager/res/layout/event_item.xml40
-rw-r--r--vdrmanager/res/layout/main.xml21
-rw-r--r--vdrmanager/res/layout/timer_detail.xml99
-rw-r--r--vdrmanager/res/layout/timer_list.xml11
-rw-r--r--vdrmanager/res/layout/vdrmanager.xml28
-rw-r--r--vdrmanager/res/layout/vdrmanager_menu_item.xml21
-rw-r--r--vdrmanager/res/layout/video.xml27
-rw-r--r--vdrmanager/res/menu/channel_list_item_menu.xml11
-rw-r--r--vdrmanager/res/menu/epg_list_item_menu.xml17
-rw-r--r--vdrmanager/res/menu/epg_list_menu.xml11
-rw-r--r--vdrmanager/res/menu/epg_search_time_item_menu.xml8
-rw-r--r--vdrmanager/res/menu/main_menu.xml14
-rw-r--r--vdrmanager/res/values/action_menu.xml10
-rw-r--r--vdrmanager/res/values/application.xml4
-rw-r--r--vdrmanager/res/values/channel_list_menu.xml7
-rw-r--r--vdrmanager/res/values/common.xml6
-rw-r--r--vdrmanager/res/values/epg.xml18
-rw-r--r--vdrmanager/res/values/epg_list_menu.xml13
-rw-r--r--vdrmanager/res/values/epg_search_times.xml6
-rw-r--r--vdrmanager/res/values/errors.xml6
-rw-r--r--vdrmanager/res/values/main_menu.xml8
-rw-r--r--vdrmanager/res/values/preferences.xml47
-rw-r--r--vdrmanager/res/values/preferences_keys.xml29
-rw-r--r--vdrmanager/res/values/progress.xml20
-rw-r--r--vdrmanager/res/values/strings.xml5
-rw-r--r--vdrmanager/res/values/timers.xml13
-rw-r--r--vdrmanager/res/xml/preferences.xml100
46 files changed, 830 insertions, 0 deletions
diff --git a/vdrmanager/res/drawable-hdpi/icon.png b/vdrmanager/res/drawable-hdpi/icon.png
new file mode 100644
index 0000000..8074c4c
--- /dev/null
+++ b/vdrmanager/res/drawable-hdpi/icon.png
Binary files differ
diff --git a/vdrmanager/res/drawable-ldpi/icon.png b/vdrmanager/res/drawable-ldpi/icon.png
new file mode 100644
index 0000000..1095584
--- /dev/null
+++ b/vdrmanager/res/drawable-ldpi/icon.png
Binary files differ
diff --git a/vdrmanager/res/drawable-mdpi/icon.png b/vdrmanager/res/drawable-mdpi/icon.png
new file mode 100644
index 0000000..a07c69f
--- /dev/null
+++ b/vdrmanager/res/drawable-mdpi/icon.png
Binary files differ
diff --git a/vdrmanager/res/drawable/channels.gif b/vdrmanager/res/drawable/channels.gif
new file mode 100644
index 0000000..f9874ff
--- /dev/null
+++ b/vdrmanager/res/drawable/channels.gif
Binary files differ
diff --git a/vdrmanager/res/drawable/settings.gif b/vdrmanager/res/drawable/settings.gif
new file mode 100644
index 0000000..5d36e7c
--- /dev/null
+++ b/vdrmanager/res/drawable/settings.gif
Binary files differ
diff --git a/vdrmanager/res/drawable/timer_active.png b/vdrmanager/res/drawable/timer_active.png
new file mode 100644
index 0000000..7b67f94
--- /dev/null
+++ b/vdrmanager/res/drawable/timer_active.png
Binary files differ
diff --git a/vdrmanager/res/drawable/timer_inactive.png b/vdrmanager/res/drawable/timer_inactive.png
new file mode 100644
index 0000000..c7a75c4
--- /dev/null
+++ b/vdrmanager/res/drawable/timer_inactive.png
Binary files differ
diff --git a/vdrmanager/res/drawable/timer_none.png b/vdrmanager/res/drawable/timer_none.png
new file mode 100644
index 0000000..dbf17ad
--- /dev/null
+++ b/vdrmanager/res/drawable/timer_none.png
Binary files differ
diff --git a/vdrmanager/res/drawable/timer_recording.png b/vdrmanager/res/drawable/timer_recording.png
new file mode 100644
index 0000000..2031530
--- /dev/null
+++ b/vdrmanager/res/drawable/timer_recording.png
Binary files differ
diff --git a/vdrmanager/res/drawable/timers.gif b/vdrmanager/res/drawable/timers.gif
new file mode 100644
index 0000000..3577dab
--- /dev/null
+++ b/vdrmanager/res/drawable/timers.gif
Binary files differ
diff --git a/vdrmanager/res/drawable/vdr_logo.jpg b/vdrmanager/res/drawable/vdr_logo.jpg
new file mode 100644
index 0000000..bba3a1f
--- /dev/null
+++ b/vdrmanager/res/drawable/vdr_logo.jpg
Binary files differ
diff --git a/vdrmanager/res/drawable/whatson.gif b/vdrmanager/res/drawable/whatson.gif
new file mode 100644
index 0000000..5a35904
--- /dev/null
+++ b/vdrmanager/res/drawable/whatson.gif
Binary files differ
diff --git a/vdrmanager/res/layout/channel_item.xml b/vdrmanager/res/layout/channel_item.xml
new file mode 100644
index 0000000..dd09400
--- /dev/null
+++ b/vdrmanager/res/layout/channel_item.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/channel_item"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:padding="5dp"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/channel_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+
+ <ImageView
+ android:id="@+id/channel_type"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+
+</LinearLayout> \ No newline at end of file
diff --git a/vdrmanager/res/layout/channel_list.xml b/vdrmanager/res/layout/channel_list.xml
new file mode 100644
index 0000000..dd6ec31
--- /dev/null
+++ b/vdrmanager/res/layout/channel_list.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+ <ListView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/channel_list"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_alignWithParentIfMissing="true"
+ android:layout_alignParentTop="true"
+ android:layout_centerHorizontal="true"
+ android:cacheColorHint="?android:attr/colorBackground"/>
diff --git a/vdrmanager/res/layout/epg_detail.xml b/vdrmanager/res/layout/epg_detail.xml
new file mode 100644
index 0000000..7752819
--- /dev/null
+++ b/vdrmanager/res/layout/epg_detail.xml
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/epg_detail_title"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:textStyle="bold"/>
+
+ <LinearLayout
+ android:id="@+id/epg_detail_time_channel"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/epg_detail_time"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="left"
+ android:layout_weight="1"/>
+
+ <TextView
+ android:id="@+id/epg_detail_channel"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="right"/>
+
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/epg_detail_date"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="left"
+ android:layout_below="@id/epg_detail_time"/>
+
+ <TextView
+ android:id="@+id/epg_detail_separator_0"
+ android:layout_width="fill_parent"
+ android:layout_height="2sp"/>
+
+ <TextView
+ android:id="@+id/epg_detail_separator_1"
+ android:layout_width="fill_parent"
+ android:layout_height="1sp"/>
+
+ <ScrollView
+ android:id="@+id/epg_detail_description_scroll"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1">
+
+ <TextView
+ android:id="@+id/epg_detail_description"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+ </TextView>
+
+ </ScrollView>
+
+ <TextView
+ android:id="@+id/epg_detail_separator_2"
+ android:layout_width="fill_parent"
+ android:layout_height="1sp"/>
+
+ <TextView
+ android:id="@+id/epg_detail_separator_3"
+ android:layout_width="fill_parent"
+ android:layout_height="4sp"/>
+
+ <Button
+ android:id="@+id/epg_event_create_timer"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:layout_centerHorizontal="true"
+ android:text="@string/epg_event_create_timer_text"/>
+
+</LinearLayout>
diff --git a/vdrmanager/res/layout/epg_list.xml b/vdrmanager/res/layout/epg_list.xml
new file mode 100644
index 0000000..dd44a8b
--- /dev/null
+++ b/vdrmanager/res/layout/epg_list.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:id="@+id/whatson_time"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/epg_list_time_label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/epg_list_time_label"/>
+
+ <Spinner
+ android:id="@+id/epg_list_time_spinner"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:prompt="@string/epg_list_time_label"/>
+
+ </LinearLayout>
+
+ <Spinner
+ android:id="@+id/epg_list_channel_spinner"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:prompt="@string/epg_list_channel_spinner"/>
+
+ <ListView
+ android:id="@+id/whatson_list"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_below="@id/epg_list_time_spinner"
+ android:layout_alignWithParentIfMissing="true"
+ android:layout_alignParentTop="true"
+ android:layout_centerHorizontal="true"
+ android:cacheColorHint="?android:attr/colorBackground"/>
+
+ <TextView
+ android:id="@+id/epg_list_search_label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/epg_list_search_label"/>
+
+</LinearLayout>
diff --git a/vdrmanager/res/layout/epg_search.xml b/vdrmanager/res/layout/epg_search.xml
new file mode 100644
index 0000000..4153451
--- /dev/null
+++ b/vdrmanager/res/layout/epg_search.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/epg_search_title"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:textStyle="bold"/>
+
+ <EditText
+ android:id="@+id/epg_search_text"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"/>
+
+ <TextView
+ android:id="@+id/epg_detail_time"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"/>
+
+ <Button
+ android:id="@+id/epg_search_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:text="@string/epg_search_button"/>
+
+</LinearLayout>
+
diff --git a/vdrmanager/res/layout/epg_search_times_item.xml b/vdrmanager/res/layout/epg_search_times_item.xml
new file mode 100644
index 0000000..93aa44b
--- /dev/null
+++ b/vdrmanager/res/layout/epg_search_times_item.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:paddingLeft="5dp"
+ android:paddingRight="5dp"
+ android:gravity= "center_vertical"
+ android:lines="2"/>
diff --git a/vdrmanager/res/layout/epg_search_times_list.xml b/vdrmanager/res/layout/epg_search_times_list.xml
new file mode 100644
index 0000000..f2ab650
--- /dev/null
+++ b/vdrmanager/res/layout/epg_search_times_list.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical">
+
+ <ListView
+ android:id="@+id/epg_search_times_list"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:cacheColorHint="?android:attr/colorBackground"/>
+
+ <Button
+ android:id="@+id/epg_search_times_add"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/epg_search_times_add"
+ android:layout_alignParentBottom="true"
+ android:layout_centerHorizontal="true"
+ android:text="@string/epg_search_times_add"/>
+
+
+</RelativeLayout>
diff --git a/vdrmanager/res/layout/event_item.xml b/vdrmanager/res/layout/event_item.xml
new file mode 100644
index 0000000..aab354a
--- /dev/null
+++ b/vdrmanager/res/layout/event_item.xml
@@ -0,0 +1,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> \ No newline at end of file
diff --git a/vdrmanager/res/layout/main.xml b/vdrmanager/res/layout/main.xml
new file mode 100644
index 0000000..1d0e21b
--- /dev/null
+++ b/vdrmanager/res/layout/main.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/tabhost"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+ <LinearLayout
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:padding="5dp">
+ <TabWidget
+ android:id="@android:id/tabs"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+ <FrameLayout
+ android:id="@android:id/tabcontent"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:padding="5dp" />
+ </LinearLayout>
+</TabHost> \ No newline at end of file
diff --git a/vdrmanager/res/layout/timer_detail.xml b/vdrmanager/res/layout/timer_detail.xml
new file mode 100644
index 0000000..0aa5da7
--- /dev/null
+++ b/vdrmanager/res/layout/timer_detail.xml
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical">
+
+ <ScrollView
+ android:id="@+id/timer_detail_scroll"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.5">
+
+ <LinearLayout
+ android:id="@+id/timer_detail_layout"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ 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: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"/>
+
+ <TextView
+ android:id="@+id/timer_detail_title_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textStyle="bold"
+ android:text="@string/timer_detail_title_title"/>
+
+ <EditText
+ android:id="@+id/timer_detail_title"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"/>
+
+ <TextView
+ android:id="@+id/timer_detail_start_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/timer_detail_start_title"/>
+
+ <LinearLayout
+ android:id="@+id/timer_detail_start_daytime"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <EditText
+ android:id="@+id/timer_detail_start"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:editable="false"/>
+
+ <EditText
+ android:id="@+id/timer_detail_day"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:editable="false"/>
+
+ </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"/>
+
+ <EditText
+ android:id="@+id/timer_detail_end"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:editable="false"/>
+
+ <TextView
+ android:id="@+id/timer_detail_fill"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_weight="0.5"/>
+
+ </LinearLayout>
+
+ </ScrollView>
+
+ <Button
+ android:id="@+id/timer_details_save"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:text="@string/timer_details_create_title"/>
+
+</LinearLayout>
diff --git a/vdrmanager/res/layout/timer_list.xml b/vdrmanager/res/layout/timer_list.xml
new file mode 100644
index 0000000..13cff32
--- /dev/null
+++ b/vdrmanager/res/layout/timer_list.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ListView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/timer_list"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_alignWithParentIfMissing="true"
+ android:layout_alignParentTop="true"
+ android:layout_centerHorizontal="true"
+ android:cacheColorHint="?android:attr/colorBackground"
+/>
diff --git a/vdrmanager/res/layout/vdrmanager.xml b/vdrmanager/res/layout/vdrmanager.xml
new file mode 100644
index 0000000..d4ca7db
--- /dev/null
+++ b/vdrmanager/res/layout/vdrmanager.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical">
+
+ <ImageView
+ android:id="@+id/main_logo"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:src="@drawable/vdr_logo"/>
+
+<!--
+ <ListView
+ android:id="@+id/vdrmanager_menu"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/main_logo"/>
+-->
+
+ <GridView
+ android:id="@+id/vdrmanager_menu"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_below="@id/main_logo"/>
+
+</RelativeLayout>
diff --git a/vdrmanager/res/layout/vdrmanager_menu_item.xml b/vdrmanager/res/layout/vdrmanager_menu_item.xml
new file mode 100644
index 0000000..1c793d8
--- /dev/null
+++ b/vdrmanager/res/layout/vdrmanager_menu_item.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/vdrmanager_menu_item"
+ android:lines="2"
+ android:gravity="center_vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:paddingLeft="15dp"
+ android:paddingRight="15dp"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"/>
+
+<!--
+<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/vdrmanager_menu_item"
+ android:lines="2"
+ android:gravity="center_vertical"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+--> \ No newline at end of file
diff --git a/vdrmanager/res/layout/video.xml b/vdrmanager/res/layout/video.xml
new file mode 100644
index 0000000..595e02a
--- /dev/null
+++ b/vdrmanager/res/layout/video.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/epg_search_title"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:textStyle="bold"/>
+
+ <VideoView
+ android:id="@+id/video_video"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"/>
+
+ <Button
+ android:id="@+id/video_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:text="Start"/>
+
+</LinearLayout>
+
diff --git a/vdrmanager/res/menu/channel_list_item_menu.xml b/vdrmanager/res/menu/channel_list_item_menu.xml
new file mode 100644
index 0000000..7e4915c
--- /dev/null
+++ b/vdrmanager/res/menu/channel_list_item_menu.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item
+ android:id="@+id/channel_item_menu_epg"
+ android:title="@string/channel_item_menu_epg"/>
+ <item
+ android:id="@+id/channel_item_menu_stream"
+ android:title="@string/channel_item_menu_stream"/>
+
+</menu> \ No newline at end of file
diff --git a/vdrmanager/res/menu/epg_list_item_menu.xml b/vdrmanager/res/menu/epg_list_item_menu.xml
new file mode 100644
index 0000000..6a38f26
--- /dev/null
+++ b/vdrmanager/res/menu/epg_list_item_menu.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item
+ android:id="@+id/epg_item_menu_timer_toggle"
+ android:title="@string/epg_item_menu_timer_enable"/>
+ <item
+ android:id="@+id/epg_item_menu_timer_add"
+ android:title="@string/epg_item_menu_timer_add"/>
+ <item
+ android:id="@+id/epg_item_menu_timer_delete"
+ android:title="@string/epg_item_menu_timer_delete"/>
+ <item
+ android:id="@+id/epg_item_menu_timer_modify"
+ android:title="@string/epg_item_menu_timer_modify"/>
+
+</menu> \ No newline at end of file
diff --git a/vdrmanager/res/menu/epg_list_menu.xml b/vdrmanager/res/menu/epg_list_menu.xml
new file mode 100644
index 0000000..cb5e4cf
--- /dev/null
+++ b/vdrmanager/res/menu/epg_list_menu.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item
+ android:id="@+id/epg_menu_search"
+ android:title="@string/epg_menu_search"/>
+ <item
+ android:id="@+id/epg_menu_times"
+ android:title="@string/epg_menu_times"/>
+
+</menu> \ No newline at end of file
diff --git a/vdrmanager/res/menu/epg_search_time_item_menu.xml b/vdrmanager/res/menu/epg_search_time_item_menu.xml
new file mode 100644
index 0000000..a54abf0
--- /dev/null
+++ b/vdrmanager/res/menu/epg_search_time_item_menu.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item
+ android:id="@+id/epg_search_time_delete"
+ android:title="@string/common_delete"/>
+
+</menu> \ No newline at end of file
diff --git a/vdrmanager/res/menu/main_menu.xml b/vdrmanager/res/menu/main_menu.xml
new file mode 100644
index 0000000..daf4e3e
--- /dev/null
+++ b/vdrmanager/res/menu/main_menu.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item
+ android:id="@+id/main_menu_preferences"
+ android:title="@string/main_menu_preferences"/>
+ <item
+ android:id="@+id/main_menu_info"
+ android:title="@string/main_menu_info"/>
+ <item
+ android:id="@+id/main_menu_exit"
+ android:title="@string/main_menu_exit"/>
+
+</menu> \ No newline at end of file
diff --git a/vdrmanager/res/values/action_menu.xml b/vdrmanager/res/values/action_menu.xml
new file mode 100644
index 0000000..68d11a3
--- /dev/null
+++ b/vdrmanager/res/values/action_menu.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="action_menu_channels">Channels</string>
+ <string name="action_menu_timers">Timers</string>
+ <string name="action_menu_epg">EPG list</string>
+ <string name="action_menu_search">EPG search</string>
+ <string name="action_menu_wakeup">Wakeup</string>
+
+</resources>
diff --git a/vdrmanager/res/values/application.xml b/vdrmanager/res/values/application.xml
new file mode 100644
index 0000000..a09283c
--- /dev/null
+++ b/vdrmanager/res/values/application.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="app_name">VDR-Manager</string>
+</resources>
diff --git a/vdrmanager/res/values/channel_list_menu.xml b/vdrmanager/res/values/channel_list_menu.xml
new file mode 100644
index 0000000..7d88621
--- /dev/null
+++ b/vdrmanager/res/values/channel_list_menu.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="channel_item_menu_epg">Show EPG</string>
+ <string name="channel_item_menu_stream">Show live stream</string>
+
+</resources>
diff --git a/vdrmanager/res/values/common.xml b/vdrmanager/res/values/common.xml
new file mode 100644
index 0000000..9e0daec
--- /dev/null
+++ b/vdrmanager/res/values/common.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="common_delete">Delete</string>
+
+</resources>
diff --git a/vdrmanager/res/values/epg.xml b/vdrmanager/res/values/epg.xml
new file mode 100644
index 0000000..a1fd152
--- /dev/null
+++ b/vdrmanager/res/values/epg.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <!-- What's on display -->
+ <string name="epg_list_time_label">What\'s on at</string>
+ <string name="epg_list_time_now">Now</string>
+ <string name="epg_list_time_next">Next</string>
+ <string name="epg_list_channel_spinner">Channel</string>
+ <string name="epg_list_search_label">Search results</string>
+
+ <!-- create timer -->
+ <string name="epg_event_create_timer_text">Add timer</string>
+ <string name="epg_event_modify_timer_text">Modify timer</string>
+
+ <!-- search -->
+ <string name="epg_search_button">Search</string>
+
+</resources>
diff --git a/vdrmanager/res/values/epg_list_menu.xml b/vdrmanager/res/values/epg_list_menu.xml
new file mode 100644
index 0000000..bde8085
--- /dev/null
+++ b/vdrmanager/res/values/epg_list_menu.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="epg_menu_search">Search EPG</string>
+ <string name="epg_menu_times">Search times</string>
+
+ <string name="epg_item_menu_timer_add">Create timer</string>
+ <string name="epg_item_menu_timer_delete">Delete timer</string>
+ <string name="epg_item_menu_timer_modify">Modify timer</string>
+ <string name="epg_item_menu_timer_enable">Enable timer</string>
+ <string name="epg_item_menu_timer_disable">Disable timer</string>
+
+</resources>
diff --git a/vdrmanager/res/values/epg_search_times.xml b/vdrmanager/res/values/epg_search_times.xml
new file mode 100644
index 0000000..851935c
--- /dev/null
+++ b/vdrmanager/res/values/epg_search_times.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="epg_search_times_add">Add time</string>
+
+</resources>
diff --git a/vdrmanager/res/values/errors.xml b/vdrmanager/res/values/errors.xml
new file mode 100644
index 0000000..e954a26
--- /dev/null
+++ b/vdrmanager/res/values/errors.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="vdr_error_text">The communication with VDR has caused some error.</string>
+
+</resources>
diff --git a/vdrmanager/res/values/main_menu.xml b/vdrmanager/res/values/main_menu.xml
new file mode 100644
index 0000000..8656f0c
--- /dev/null
+++ b/vdrmanager/res/values/main_menu.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="main_menu_preferences">Preferences</string>
+ <string name="main_menu_info">Info</string>
+ <string name="main_menu_exit">Exit</string>
+
+</resources>
diff --git a/vdrmanager/res/values/preferences.xml b/vdrmanager/res/values/preferences.xml
new file mode 100644
index 0000000..36a5e1a
--- /dev/null
+++ b/vdrmanager/res/values/preferences.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <!-- VDR plugin preferences -->
+ <string name="vdr_preferences">Network settings</string>
+ <string name="vdr_host_title">VDR host</string>
+ <string name="vdr_host_summary">Host running VDR</string>
+ <string name="vdr_port_title">VDR plugin port </string>
+ <string name="vdr_port_summary">Port for connections to VDR plugin</string>
+ <string name="vdr_port_default">6420</string>
+ <string name="vdr_password_title">VDR plugin password</string>
+ <string name="vdr_password_summary">Password for the VDR plugin</string>
+ <string name="vdr_ssl_title">Secure connect</string>
+ <string name="vdr_ssl_summary">Use SSL for connections</string>
+
+ <!-- channel filter preferences -->
+ <string name="channel_filter_preferences">Channel settings</string>
+ <string name="channel_filter_filter_title">Limit channels</string>
+ <string name="channel_filter_filter_summary">Use only given channels</string>
+ <string name="channel_filter_last_title">Channels</string>
+ <string name="channel_filter_last_summary">Channels to use</string>
+
+ <!-- wakeup -->
+ <string name="wakeup_preferences">Remote VDR host wakeup</string>
+ <string name="wakeup_enabled_title">Can remote wakeup VDR</string>
+ <string name="wakeup_enabled_summary">Enables to remote wakeup the VDR host</string>
+ <string name="wakeup_url_title">URL for remote wakeup</string>
+ <string name="wakeup_url_summary">URL for a request doing the wakeup</string>
+ <string name="wakeup_user_title">Wakeup user</string>
+ <string name="wakeup_user_summary">User for remote wakeup</string>
+ <string name="wakeup_password_title">Wakeup password</string>
+ <string name="wakeup_password_summary">Password for remote wakeup</string>
+
+ <!-- timer -->
+ <string name="timer_preferences">Timer defaults</string>
+ <string name="timer_pre_start_buffer_title">Margin at start</string>
+ <string name="timer_pre_start_buffer_summary">Minutes recording starts before the beginning of the broadcast</string>
+ <string name="timer_post_end_buffer_title">Margin at stop</string>
+ <string name="timer_post_end_buffer_summary">Minutes recording stops after the end of the broadcast</string>
+ <string name="timer_default_priority_title">Default priority</string>
+ <string name="timer_default_priority_summary">Default priority</string>
+ <string name="timer_default_primary_limit_title">Default primary limit</string>
+ <string name="timer_default_primary_limit_summary">Default primary limit</string>
+ <string name="timer_default_lifetime_title">Default lifetime</string>
+ <string name="timer_default_lifetime_summary">Default lifetime</string>
+
+</resources>
diff --git a/vdrmanager/res/values/preferences_keys.xml b/vdrmanager/res/values/preferences_keys.xml
new file mode 100644
index 0000000..36fee64
--- /dev/null
+++ b/vdrmanager/res/values/preferences_keys.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="vdr_host_key">svdrp_host</string>
+ <string name="vdr_port_key">svdrp_port </string>
+ <string name="vdr_password_key">svdrp_password</string>
+ <string name="vdr_ssl_key">svdrp_ssl</string>
+
+ <string name="alive_check_enabled_key">alive_check_enabled</string>
+ <string name="alive_check_interval_key">alive_check_interval</string>
+
+ <string name="channel_filter_filter_key">limit_channels</string>
+ <string name="channel_filter_last_key">last_channel</string>
+
+ <string name="wakeup_enabled_key">wakeup_enabled</string>
+
+ <string name="wakeup_url_key">wakeup_url</string>
+ <string name="wakeup_user_key">wakeup_user</string>
+ <string name="wakeup_password_key">wakeup_password</string>
+
+ <string name="timer_pre_start_buffer_key">timer_pre_start_buffer</string>
+ <string name="timer_post_end_buffer_key">timer_post_end_buffer</string>
+ <string name="timer_default_priority_key">timer_default_priority</string>
+ <string name="timer_default_primary_limit_key">timer_default_primary_limit</string>
+ <string name="timer_default_lifetime_key">timer_default_lifetime</string>
+
+ <string name="epg_search_times_key">epg_search_times</string>
+
+</resources>
diff --git a/vdrmanager/res/values/progress.xml b/vdrmanager/res/values/progress.xml
new file mode 100644
index 0000000..0995eae
--- /dev/null
+++ b/vdrmanager/res/values/progress.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <!-- progress -->
+ <string name="progress_connect">Connecting ...</string>
+ <string name="progress_login">Login ...</string>
+ <string name="progress_login_error">Login failed</string>
+ <string name="progress_whatson_loading">Loading EPG ...</string>
+ <string name="progress_timers_loading">Loading timers ...</string>
+ <string name="progress_channels_loading">Loading channels ...</string>
+ <string name="progress_disconnect">Disconnecting ...</string>
+ <string name="progress_wakeup_sending">Initiating wakeup request ...</string>
+ <string name="progress_wakeup_sent">Wakeup request sent</string>
+ <string name="progress_wakeup_error">Error sending wakeup request</string>
+ <string name="progress_timer_save">Saving timer ...</string>
+ <string name="progress_timer_delete">Deleting timer ...</string>
+ <string name="progress_timer_enable">Enabling timer ...</string>
+ <string name="progress_timer_disable">Disabling timer ...</string>
+
+</resources>
diff --git a/vdrmanager/res/values/strings.xml b/vdrmanager/res/values/strings.xml
new file mode 100644
index 0000000..1fcd07e
--- /dev/null
+++ b/vdrmanager/res/values/strings.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+
+</resources>
diff --git a/vdrmanager/res/values/timers.xml b/vdrmanager/res/values/timers.xml
new file mode 100644
index 0000000..b391c72
--- /dev/null
+++ b/vdrmanager/res/values/timers.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="timer_detail_title_title">Title:</string>
+ <string name="timer_detail_channel_title">Channel:</string>
+ <string name="timer_detail_start_title">Start:</string>
+ <string name="timer_detail_end_title">End:</string>
+
+ <string name="timer_details_create_title">Create timer</string>
+ <string name="timer_details_save_title">Save changes</string>
+ <string name="timer_details_delete_title">Delete timer</string>
+
+</resources>
diff --git a/vdrmanager/res/xml/preferences.xml b/vdrmanager/res/xml/preferences.xml
new file mode 100644
index 0000000..8a84449
--- /dev/null
+++ b/vdrmanager/res/xml/preferences.xml
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <PreferenceCategory android:title="@string/vdr_preferences" android:key="vdr_preferences">
+
+ <EditTextPreference
+ android:key="@string/vdr_host_key"
+ android:title="@string/vdr_host_title"
+ android:summary="@string/vdr_host_summary"/>
+
+ <EditTextPreference
+ android:key="@string/vdr_port_key"
+ android:title="@string/vdr_port_title"
+ android:summary="@string/vdr_port_summary"
+ android:defaultValue="@string/vdr_port_default"/>
+
+ <EditTextPreference
+ android:key="@string/vdr_password_key"
+ android:title="@string/vdr_password_title"
+ android:summary="@string/vdr_password_summary"
+ android:password="true"/>
+
+ <CheckBoxPreference
+ android:key="@string/vdr_ssl_key"
+ android:title="@string/vdr_ssl_title"
+ android:summary="@string/vdr_ssl_summary"/>
+
+ </PreferenceCategory>
+
+ <PreferenceCategory android:title="@string/channel_filter_preferences" android:key="filter_preferences">
+
+ <CheckBoxPreference
+ android:key="@string/channel_filter_filter_key"
+ android:title="@string/channel_filter_filter_title"
+ android:summary="@string/channel_filter_filter_summary"/>
+
+ <EditTextPreference
+ android:key="@string/channel_filter_last_key"
+ android:title="@string/channel_filter_last_title"
+ android:summary="@string/channel_filter_last_summary"
+ android:defaultValue="1"/>
+
+ </PreferenceCategory>
+
+ <PreferenceCategory android:title="@string/wakeup_preferences" android:key="wakeup_preferences">
+
+ <CheckBoxPreference
+ android:key="@string/wakeup_enabled_key"
+ android:title="@string/wakeup_enabled_title"
+ android:summary="@string/wakeup_enabled_summary"/>
+
+
+
+ <EditTextPreference
+ android:key="@string/wakeup_url_key"
+ android:title="@string/wakeup_url_title"
+ android:summary="@string/wakeup_url_summary"/>
+
+ <EditTextPreference
+ android:key="@string/wakeup_user_key"
+ android:title="@string/wakeup_user_title"
+ android:summary="@string/wakeup_user_summary"/>
+
+ <EditTextPreference
+ android:key="@string/wakeup_password_key"
+ android:title="@string/wakeup_password_title"
+ android:summary="@string/wakeup_password_summary"/>
+
+ </PreferenceCategory>
+
+ <PreferenceCategory android:title="@string/timer_preferences" android:key="timer_preferences">
+
+ <EditTextPreference
+ android:key="@string/timer_pre_start_buffer_key"
+ android:title="@string/timer_pre_start_buffer_title"
+ android:summary="@string/timer_pre_start_buffer_summary"
+ android:defaultValue="5"/>
+
+ <EditTextPreference
+ android:key="@string/timer_post_end_buffer_key"
+ android:title="@string/timer_post_end_buffer_title"
+ android:summary="@string/timer_post_end_buffer_summary"
+ android:defaultValue="30"/>
+
+ <EditTextPreference
+ android:key="@string/timer_default_lifetime_key"
+ android:title="@string/timer_default_lifetime_title"
+ android:summary="@string/timer_default_lifetime_summary"
+ android:defaultValue="99"/>
+
+ <EditTextPreference
+ android:key="@string/timer_default_priority_key"
+ android:title="@string/timer_default_priority_title"
+ android:summary="@string/timer_default_priority_summary"
+ android:defaultValue="50"/>
+
+ </PreferenceCategory>
+
+</PreferenceScreen>