diff options
-rw-r--r-- | vdrmanager/res/xml/preferences.xml | 168 |
1 files changed, 86 insertions, 82 deletions
diff --git a/vdrmanager/res/xml/preferences.xml b/vdrmanager/res/xml/preferences.xml index d3ef144..dcef359 100644 --- a/vdrmanager/res/xml/preferences.xml +++ b/vdrmanager/res/xml/preferences.xml @@ -1,86 +1,90 @@ <?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:key="@string/gui_max_recent_channels_key" android:inputType="number" - android:summary="@string/gui_max_recent_channels_summary" - android:title="@string/gui_max_recent_channels_title" /> - - <ListPreference - android:key="gui_recent_channels_order" - android:defaultValue="most" - android:entries="@array/recent_channels_order_entries" - android:entryValues="@array/recent_channels_order_entry_values" - android:summary="@string/gui_recent_channels_order_summary" - android:title="@string/gui_recent_channels_order_title" /> - - - - <CheckBoxPreference android:key="@string/gui_enable_24h_format_key" - android:defaultValue="true" - 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="true" - 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="true" - 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" /> - - - <CheckBoxPreference android:defaultValue="true" - android:key="@string/qui_quit_on_back_key" android:summaryOff="@string/gui_quit_on_back_summary_off" - android:summaryOn="@string/gui_quit_on_back_summary_on" - android:title="@string/gui_quit_on_back_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> - +<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" /> + + <CheckBoxPreference + android:defaultValue="false" + android:key="@string/clear_term_after_search_key" + android:summaryOff="@string/clear_term_after_search_summary_off" + android:summaryOn="@string/clear_term_after_search_summary_on" + android:title="@string/clear_term_after_search_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" |