summaryrefslogtreecommitdiff
path: root/vdrmanager/de.bjusystems.vdrmanager/src/main/res/xml/preferences.xml
diff options
context:
space:
mode:
Diffstat (limited to 'vdrmanager/de.bjusystems.vdrmanager/src/main/res/xml/preferences.xml')
-rw-r--r--vdrmanager/de.bjusystems.vdrmanager/src/main/res/xml/preferences.xml88
1 files changed, 88 insertions, 0 deletions
diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/xml/preferences.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/xml/preferences.xml
new file mode 100644
index 0000000..ec5aff6
--- /dev/null
+++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/xml/preferences.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <PreferenceCategory android:title="@string/vdr_devices_category" >
+ <PreferenceScreen
+ android:summary="@string/vdr_devices_summary"
+ android:title="@string/vdr_devices" >
+ <intent
+ android:action="android.intent.action.MAIN"
+ android:targetClass="de.bjusystems.vdrmanager.gui.VdrListActivity"
+ android:targetPackage="de.bjusystems.vdrmanager" />
+ </PreferenceScreen>
+ </PreferenceCategory>
+ <PreferenceCategory
+ android:key="gui_preferences"
+ android:title="@string/gui_preferences" >
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="@string/gui_channels_show_channel_numbers_key"
+ android:summary="@string/gui_channels_show_channel_numbers_summary"
+ android:title="@string/gui_channels_show_channel_numbers_title" />
+
+ <EditTextPreference
+ android:defaultValue="10"
+ android:inputType="number"
+ android:key="@string/gui_max_recent_channels_key"
+ android:summary="@string/gui_max_recent_channels_summary"
+ android:title="@string/gui_max_recent_channels_title" />
+
+ <ListPreference
+ android:defaultValue="most"
+ android:entries="@array/recent_channels_order_entries"
+ android:entryValues="@array/recent_channels_order_entry_values"
+ android:key="gui_recent_channels_order"
+ android:summary="@string/gui_recent_channels_order_summary"
+ android:title="@string/gui_recent_channels_order_title" />
+
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:key="@string/gui_enable_24h_format_key"
+ android:summaryOff="@string/gui_enable_24h_format_summary_off"
+ android:summaryOn="@string/gui_enable_24h_format_summary_on"
+ android:title="@string/gui_enable_24h_format_title" />
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:key="@string/qui_show_imdb_button_key"
+ android:summaryOff="@string/qui_show_imdb_button_summary_off"
+ android:summaryOn="@string/qui_show_imdb_button_summary_on"
+ android:title="@string/qui_show_imdb_button_title" />
+
+ <ListPreference
+ android:defaultValue="akas.imdb.com"
+ android:dependency="@string/qui_show_imdb_button_key"
+ android:entries="@array/imdb_urls"
+ android:entryValues="@array/imdb_urls_velues"
+ android:key="@string/qui_imdb_url_key"
+ android:summaryOn="@string/qui_imdb_url_summary"
+ android:title="@string/qui_imdb_url_title" />
+
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="@string/qui_show_omdb_button_key"
+ android:summaryOff="@string/qui_show_omdb_button_summary_off"
+ android:summaryOn="@string/qui_show_omdb_button_summary_on"
+ android:title="@string/qui_show_omdb_button_title" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="@string/qui_show_tmdb_button_key"
+ android:summaryOff="@string/qui_show_tmdb_button_summary_off"
+ android:summaryOn="@string/qui_show_tmdb_button_summary_on"
+ android:title="@string/qui_show_tmdb_button_title" />
+
+ <ListPreference
+ android:defaultValue="DEFAULT"
+ android:entries="@array/lang"
+ android:entryValues="@array/lang_values"
+ android:key="@string/gui_custom_locale_key"
+ android:summary="@string/gui_custom_locale_sum"
+ android:title="@string/gui_custom_locale_title" />
+ </PreferenceCategory>
+
+ <Preference
+ android:key="@string/settings_backup_key"
+ android:persistent="false"
+ android:summary="@string/settings_backup_summary"
+ android:title="@string/settings_backup" />
+
+</PreferenceScreen> \ No newline at end of file