diff options
Diffstat (limited to 'vdrmanager/app/src/main/res/xml')
-rw-r--r-- | vdrmanager/app/src/main/res/xml/backup_settings.xml | 31 | ||||
-rw-r--r-- | vdrmanager/app/src/main/res/xml/preferences.xml | 88 | ||||
-rw-r--r-- | vdrmanager/app/src/main/res/xml/searchable.xml | 21 | ||||
-rw-r--r-- | vdrmanager/app/src/main/res/xml/timezones.xml | 87 | ||||
-rw-r--r-- | vdrmanager/app/src/main/res/xml/vdr_prefs.xml | 245 |
5 files changed, 472 insertions, 0 deletions
diff --git a/vdrmanager/app/src/main/res/xml/backup_settings.xml b/vdrmanager/app/src/main/res/xml/backup_settings.xml new file mode 100644 index 0000000..dfe91c6 --- /dev/null +++ b/vdrmanager/app/src/main/res/xml/backup_settings.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +Copyright 2012 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" + android:title="@string/settings_backup" android:summary="@string/settings_backup_summary"> + <Preference + android:key="@string/settings_backup_now_key" + android:persistent="false" + android:title="@string/settings_backup_now" + android:summary="@string/settings_backup_now_summary" + /> + <Preference + android:key="@string/settings_backup_restore_key" + android:persistent="false" + android:title="@string/settings_backup_restore" + android:summary="@string/settings_backup_restore_summary" + /> +</PreferenceScreen>
\ No newline at end of file diff --git a/vdrmanager/app/src/main/res/xml/preferences.xml b/vdrmanager/app/src/main/res/xml/preferences.xml new file mode 100644 index 0000000..ec5aff6 --- /dev/null +++ b/vdrmanager/app/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 diff --git a/vdrmanager/app/src/main/res/xml/searchable.xml b/vdrmanager/app/src/main/res/xml/searchable.xml new file mode 100644 index 0000000..05f7087 --- /dev/null +++ b/vdrmanager/app/src/main/res/xml/searchable.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<searchable xmlns:android="http://schemas.android.com/apk/res/android" + android:hint="@string/search_epg_hint" + android:includeInGlobalSearch="true" + android:label="@string/app_name" + android:searchSettingsDescription="@string/epg_search_settings_description" + android:searchSuggestAuthority="de.bjusystems.vdrmanager.data.db.EPGSearchSuggestionsProvider" + android:searchSuggestSelection=" ?" + android:imeOptions="actionSearch" + android:inputType="text" + android:voiceSearchMode="showVoiceSearchButton|launchRecognizer" > + + <!-- + <actionkey + android:keycode="KEYCODE_SEARCH" + android:queryActionMsg="string" + android:suggestActionMsg="string" + android:suggestActionMsgColumn="string"/> + --> + +</searchable>
\ No newline at end of file diff --git a/vdrmanager/app/src/main/res/xml/timezones.xml b/vdrmanager/app/src/main/res/xml/timezones.xml new file mode 100644 index 0000000..a66faf8 --- /dev/null +++ b/vdrmanager/app/src/main/res/xml/timezones.xml @@ -0,0 +1,87 @@ +<timezones> + <timezone id="Pacific/Majuro">Marshall Islands</timezone> + <timezone id="Pacific/Midway">Midway Island</timezone> + <timezone id="Pacific/Honolulu">Hawaii</timezone> + <timezone id="America/Anchorage">Alaska</timezone> + <timezone id="America/Los_Angeles">Pacific Time</timezone> + <timezone id="America/Tijuana">Tijuana</timezone> + <timezone id="America/Phoenix">Arizona</timezone> + <timezone id="America/Chihuahua">Chihuahua</timezone> + <timezone id="America/Denver">Mountain Time</timezone> + <timezone id="America/Costa_Rica">Central America</timezone> + <timezone id="America/Chicago">Central Time</timezone> + <timezone id="America/Mexico_City">Mexico City</timezone> + <timezone id="America/Regina">Saskatchewan</timezone> + <timezone id="America/Bogota">Bogota</timezone> + <timezone id="America/New_York">Eastern Time</timezone> + <timezone id="America/Caracas">Venezuela</timezone> + <timezone id="America/Barbados">Atlantic Time (Barbados)</timezone> + <timezone id="America/Halifax">Atlantic Time (Canada)</timezone> + <timezone id="America/Manaus">Manaus</timezone> + <timezone id="America/Santiago">Santiago</timezone> + <timezone id="America/St_Johns">Newfoundland</timezone> + <timezone id="America/Sao_Paulo">Brasilia</timezone> + <timezone id="America/Argentina/Buenos_Aires">Buenos Aires</timezone> + <timezone id="America/Godthab">Greenland</timezone> + <timezone id="America/Montevideo">Montevideo</timezone> + <timezone id="Atlantic/South_Georgia">Mid-Atlantic</timezone> + <timezone id="Atlantic/Azores">Azores</timezone> + <timezone id="Atlantic/Cape_Verde">Cape Verde Islands</timezone> + <timezone id="Africa/Casablanca">Casablanca</timezone> + <timezone id="Europe/London">London, Dublin</timezone> + <timezone id="Europe/Berlin">Berlin</timezone> + <timezone id="Europe/Amsterdam">Amsterdam</timezone> + <timezone id="Europe/Belgrade">Belgrade</timezone> + <timezone id="Europe/Brussels">Brussels</timezone> + <timezone id="Europe/Sarajevo">Sarajevo</timezone> + <timezone id="Africa/Windhoek">Windhoek</timezone> + <timezone id="Africa/Brazzaville">W. Africa Time</timezone> + <timezone id="Asia/Amman">Amman, Jordan</timezone> + <timezone id="Europe/Athens">Athens, Istanbul</timezone> + <timezone id="Asia/Beirut">Beirut, Lebanon</timezone> + <timezone id="Africa/Cairo">Cairo</timezone> + <timezone id="Europe/Helsinki">Helsinki</timezone> + <timezone id="Asia/Jerusalem">Jerusalem</timezone> + <timezone id="Europe/Minsk">Minsk</timezone> + <timezone id="Africa/Harare">Harare</timezone> + <timezone id="Asia/Baghdad">Baghdad</timezone> + <timezone id="Europe/Moscow">Moscow</timezone> + <timezone id="Asia/Kuwait">Kuwait</timezone> + <timezone id="Africa/Nairobi">Nairobi</timezone> + <timezone id="Asia/Tehran">Tehran</timezone> + <timezone id="Asia/Baku">Baku</timezone> + <timezone id="Asia/Tbilisi">Tbilisi</timezone> + <timezone id="Asia/Yerevan">Yerevan</timezone> + <timezone id="Asia/Dubai">Dubai</timezone> + <timezone id="Asia/Kabul">Kabul</timezone> + <timezone id="Asia/Karachi">Islamabad, Karachi</timezone> + <timezone id="Asia/Oral">Ural'sk</timezone> + <timezone id="Asia/Yekaterinburg">Yekaterinburg</timezone> + <timezone id="Asia/Calcutta">Kolkata</timezone> + <timezone id="Asia/Colombo">Sri Lanka</timezone> + <timezone id="Asia/Katmandu">Kathmandu</timezone> + <timezone id="Asia/Almaty">Astana</timezone> + <timezone id="Asia/Rangoon">Yangon</timezone> + <timezone id="Asia/Krasnoyarsk">Krasnoyarsk</timezone> + <timezone id="Asia/Bangkok">Bangkok</timezone> + <timezone id="Asia/Shanghai">Beijing</timezone> + <timezone id="Asia/Hong_Kong">Hong Kong</timezone> + <timezone id="Asia/Irkutsk">Irkutsk</timezone> + <timezone id="Asia/Kuala_Lumpur">Kuala Lumpur</timezone> + <timezone id="Australia/Perth">Perth</timezone> + <timezone id="Asia/Taipei">Taipei</timezone> + <timezone id="Asia/Seoul">Seoul</timezone> + <timezone id="Asia/Tokyo">Tokyo, Osaka</timezone> + <timezone id="Asia/Yakutsk">Yakutsk</timezone> + <timezone id="Australia/Adelaide">Adelaide</timezone> + <timezone id="Australia/Darwin">Darwin</timezone> + <timezone id="Australia/Brisbane">Brisbane</timezone> + <timezone id="Australia/Hobart">Hobart</timezone> + <timezone id="Australia/Sydney">Sydney, Canberra</timezone> + <timezone id="Asia/Vladivostok">Vladivostok</timezone> + <timezone id="Pacific/Guam">Guam</timezone> + <timezone id="Asia/Magadan">Magadan</timezone> + <timezone id="Pacific/Auckland">Auckland</timezone> + <timezone id="Pacific/Fiji">Fiji</timezone> + <timezone id="Pacific/Tongatapu">Tonga</timezone> +</timezones> diff --git a/vdrmanager/app/src/main/res/xml/vdr_prefs.xml b/vdrmanager/app/src/main/res/xml/vdr_prefs.xml new file mode 100644 index 0000000..5c6e8b1 --- /dev/null +++ b/vdrmanager/app/src/main/res/xml/vdr_prefs.xml @@ -0,0 +1,245 @@ +<?xml version="1.0" encoding="utf-8"?> +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > + + <PreferenceCategory android:title="@string/vdr_prefs_category" > + <EditTextPreference + android:inputType="textCapWords" + android:key="@string/vdr_name_key" + android:summary="@string/vdr_name_summary" + android:title="@string/vdr_name_title" /> + </PreferenceCategory> + <PreferenceCategory + android:key="vdr_preferences" + android:title="@string/vdr_preferences" > + <de.bjusystems.vdrmanager.data.FetchEditTextPreference + android:inputType="textNoSuggestions" + android:key="@string/vdr_host_key" + android:summary="@string/vdr_host_summary" + android:title="@string/vdr_host_title" /> + <EditTextPreference + android:inputType="number" + android:key="@string/vdr_port_key" + android:summary="@string/vdr_port_summary" + android:title="@string/vdr_port_title" /> + <EditTextPreference + android:key="@string/vdr_password_key" + android:password="true" + android:summary="@string/vdr_password_summary" + android:title="@string/vdr_password_title" /> + + <CheckBoxPreference + android:key="@string/vdr_ssl_key" + android:enabled="true" + android:summary="@string/vdr_ssl_summary" + android:title="@string/vdr_ssl_title" /> + </PreferenceCategory> + <PreferenceCategory + android:key="filter_preferences" + android:title="@string/channel_filter_preferences" > + <CheckBoxPreference + android:key="@string/channel_filter_filter_key" + android:summary="@string/channel_filter_filter_summary" + android:title="@string/channel_filter_filter_title" /> + + <EditTextPreference + android:dependency="@string/channel_filter_filter_key" + android:key="@string/channel_filter_last_key" + android:summary="@string/channel_filter_last_summary" + android:title="@string/channel_filter_last_title" /> + </PreferenceCategory> + <PreferenceCategory + android:key="wakeup_preferences" + android:title="@string/wakeup_preferences" > + <CheckBoxPreference + android:key="@string/wakeup_enabled_key" + android:summary="@string/wakeup_enabled_summary" + android:title="@string/wakeup_enabled_title" /> + + <ListPreference + android:dependency="@string/wakeup_enabled_key" + android:entries="@array/wakeup_methods" + android:entryValues="@array/wakeup_methods_values" + android:key="@string/wakeup_method_key" + android:summary="@string/wakeup_method_summary" + android:title="@string/wakeup_method_title" /> + + <EditTextPreference + android:dependency="@string/wakeup_enabled_key" + android:key="@string/wakeup_url_key" + android:summary="@string/wakeup_url_summary" + android:title="@string/wakeup_url_title" /> + <EditTextPreference + android:dependency="@string/wakeup_enabled_key" + android:key="@string/wakeup_user_key" + android:summary="@string/wakeup_user_summary" + android:title="@string/wakeup_user_title" /> + <EditTextPreference + android:dependency="@string/wakeup_enabled_key" + android:key="@string/wakeup_password_key" + android:password="true" + android:summary="@string/wakeup_password_summary" + android:title="@string/wakeup_password_title" /> + + <de.bjusystems.vdrmanager.data.FetchEditTextPreference + android:dependency="@string/wakeup_enabled_key" + android:key="@string/wakeup_wol_mac_key" + android:summary="@string/wakeup_wol_mac_summary" + android:title="@string/wakeup_wol_mac_title" /> + + <EditTextPreference + android:dependency="@string/wakeup_enabled_key" + android:key="@string/wakeup_wol_custom_broadcast_key" + android:summaryOn="@string/wakeup_wol_custom_boradcast_summary" + android:title="@string/wakeup_wol_custom_boradcast_title" /> + </PreferenceCategory> + <PreferenceCategory + android:key="timer_preferences" + android:title="@string/timer_preferences" > + <EditTextPreference + android:key="@string/timer_pre_start_buffer_key" + android:summary="@string/timer_pre_start_buffer_summary" + android:title="@string/timer_pre_start_buffer_title" /> + <EditTextPreference + android:key="@string/timer_post_end_buffer_key" + android:summary="@string/timer_post_end_buffer_summary" + android:title="@string/timer_post_end_buffer_title" /> + <EditTextPreference + android:key="@string/timer_default_lifetime_key" + android:summary="@string/timer_default_lifetime_summary" + android:title="@string/timer_default_lifetime_title" /> + <EditTextPreference + android:key="@string/timer_default_priority_key" + android:summary="@string/timer_default_priority_summary" + android:title="@string/timer_default_priority_title" /> + </PreferenceCategory> + <PreferenceCategory android:title="@string/livetv" > + <EditTextPreference + android:inputType="number" + android:key="streamingport" + android:summary="@string/settings_livetv_port_summary" + android:title="@string/settings_livetv_port" /> + <EditTextPreference + android:key="@string/streaming_username_key" + android:summary="@string/streaming_username_sum" + android:title="@string/streaming_username_title" /> + <EditTextPreference + android:key="@string/streaming_password_key" + android:password="true" + android:summary="@string/streaming_password_sum" + android:title="@string/streaming_password_title" /> + + <ListPreference + android:entries="@array/livetv_streamformat" + android:entryValues="@array/livetv_streamformat_values" + android:key="livetv_streamformat" + android:title="@string/settings_livetv_streamformat" /> + + <CheckBoxPreference + android:key="remux_enable" + android:summary="@string/remux_enable_summary" + android:title="@string/remux_enable_title" /> + + <ListPreference + android:dependency="remux_enable" + android:entries="@array/remux_entries" + android:entryValues="@array/remux_entry_values" + android:key="remux_command" + android:summary="@string/remux_command_summary" + android:title="@string/remux_command_title" /> + + <EditTextPreference + android:dependency="remux_enable" + android:key="remux_parameter" + android:summary="@string/remux_parameter_summary" + android:title="@string/remux_parameter_title" /> + </PreferenceCategory> + <PreferenceCategory + android:key="key_streaming_category" + android:title="@string/recstream" > + <CheckBoxPreference + android:key="key_rec_stream_enable" + android:summary="@string/recstream_enable_summary" + android:title="@string/recstream_enable_title" /> + + <ListPreference + android:dependency="key_rec_stream_enable" + android:entries="@array/recstream_entries" + android:entryValues="@array/recstream_entry_values" + android:key="key_recstream_method" + android:summary="@string/recstream_method_summary" + android:title="@string/recstream_method_title" /> + + <EditTextPreference + android:defaultValue="8008" + android:dependency="key_rec_stream_enable" + android:inputType="number" + android:key="key_live_port" + android:summary="@string/settings_live_port_summary" + android:title="@string/settings_live_port" /> + + + <ListPreference + android:dependency="key_rec_stream_enable" + android:entries="@array/recstream_smarttvweb_entries" + android:entryValues="@array/recstream_smarttvweb_entry_values" + android:key="key_smarttvweb_recstream_method" + android:summary="@string/recstream_smarttvweb_method_summary" + android:title="@string/recstream_smarttvweb_method_title" /> + + <EditTextPreference + android:defaultValue="8000" + android:dependency="key_rec_stream_enable" + android:inputType="number" + android:key="key_smarttvweb_port" + android:summary="@string/settings_smarttvweb_port_summary" + android:title="@string/settings_smarttvweb_port" /> + </PreferenceCategory> + + <PreferenceCategory + android:key="key_remote_category" + android:title="@string/remote" > + <CheckBoxPreference + android:key="key_remote_enable" + android:summary="@string/remote_enable_summary" + android:title="@string/remote_enable_title" /> + + <EditTextPreference + android:inputType="number" + android:key="key_svdrp_port" + android:dependency="key_remote_enable" + android:summary="@string/svdrp_port_summary" + android:defaultValue="@integer/svdrp_default_port" + android:title="@string/svdrp_port_title" /> + + </PreferenceCategory> + + <PreferenceScreen android:title="Advanced" > + <EditTextPreference + android:inputType="number" + android:key="@string/vdr_conntimeout_key" + android:summary="@string/vdr_conntimeout_sum" + android:title="@string/vdr_conntimeout_title" /> + <EditTextPreference + android:inputType="number" + android:key="@string/vdr_readtimeout_key" + android:summary="@string/vdr_readtimeout_sum" + android:title="@string/vdr_readtimeout_title" /> + <EditTextPreference + android:inputType="number" + android:key="@string/vdr_timeout_key" + android:summary="@string/vdr_timeout_sum" + android:title="@string/vdr_timeout_title" /> + <EditTextPreference + android:key="@string/vdr_encoding_key" + android:summary="@string/vdr_encoding_summary" + android:title="@string/vdr_encoding_title" /> + + <Preference + android:fragment="de.bjusystems.vdrmanager.ZonePicker" + android:key="@string/timezone_key" + android:summary="@string/vdr_timezone_summary" + android:title="@string/vdr_timezone_title" /> + + </PreferenceScreen> + +</PreferenceScreen>
\ No newline at end of file |