summaryrefslogtreecommitdiff
path: root/vdrmanager/res
diff options
context:
space:
mode:
Diffstat (limited to 'vdrmanager/res')
-rw-r--r--vdrmanager/res/values/preferences.xml5
-rw-r--r--vdrmanager/res/xml/preferences.xml6
2 files changed, 10 insertions, 1 deletions
diff --git a/vdrmanager/res/values/preferences.xml b/vdrmanager/res/values/preferences.xml
index 3a3402f..16737ef 100644
--- a/vdrmanager/res/values/preferences.xml
+++ b/vdrmanager/res/values/preferences.xml
@@ -76,6 +76,9 @@
<string name="gui_channels_show_channel_numbers_key">key_channels_show_channel_numbers</string>
<string name="gui_channels_show_channel_numbers_title">Show channel numbers</string>
<string name="gui_channels_show_channel_numbers_summary">Show channel numbers in the channel list.</string>
-
+ <string name="qui_quit_on_back_key">key_gui_quit_on_back</string>
+ <string name="gui_quit_on_back_title">Quit on back button</string>
+ <string name="gui_quit_on_back_summary_on">Back button quits the VDR-Manager</string>
+ <string name="gui_quit_on_back_summary_off">Back button does not quit VDR-Manager</string>
</resources>
diff --git a/vdrmanager/res/xml/preferences.xml b/vdrmanager/res/xml/preferences.xml
index a8578b2..1f54c26 100644
--- a/vdrmanager/res/xml/preferences.xml
+++ b/vdrmanager/res/xml/preferences.xml
@@ -78,6 +78,12 @@
android:title="@string/gui_enable_24h_format_title"
android:summaryOn="@string/gui_enable_24h_format_summary_on"
android:summaryOff="@string/gui_enable_24h_format_summary_off" />
+
+ <CheckBoxPreference android:key="@string/qui_quit_on_back_key"
+ android:title="@string/gui_quit_on_back_title"
+ android:summaryOn="@string/gui_quit_on_back_summary_on"
+ android:summaryOff="@string/gui_quit_on_back_summary_off"
+ android:defaultValue="true" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/livetv">
<EditTextPreference android:key="streamingport"