<?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" />
			

		<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>