<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ SkyTube
  ~ Copyright (C) 2017  Ramon Mifsud
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
  ~ the Free Software Foundation (version 3 of the License).
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  -->

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:app="http://schemas.android.com/apk/res-auto">

	<ListPreference
		app:key="@string/pref_key_default_tab_name"
		app:title="@string/pref_title_default_tab"
		app:iconSpaceReserved="false" />

	<MultiSelectListPreference
		app:key="@string/pref_key_hide_tabs"
		app:title="@string/pref_title_hide_tabs"
		app:summary="@string/pref_summary_hide_tabs"
		app:entryValues="@array/tab_list_values"
		app:iconSpaceReserved="false" />

	<EditTextPreference
		app:key="@string/pref_youtube_api_key"
		app:title="@string/pref_title_youtube_api_key"
		app:summary="@string/pref_summary_youtube_api_key"
		app:dialogTitle="@string/pref_title_youtube_api_key"
		app:iconSpaceReserved="false" />

	<!--ListPreference
		app:key="@string/pref_feed_notification_key"
		app:title="@string/pref_title_feed_notification"
		app:entries="@array/feed_notification"
		app:entryValues="@array/feed_notification_values"
		app:iconSpaceReserved="false" /-->

	<CheckBoxPreference
		app:defaultValue="true"
		app:key="@string/pref_use_default_newpipe_backend"
		app:summary="@string/pref_summary_use_newpipe_backend"
		app:title="@string/pref_title_use_newpipe_backend"
		app:iconSpaceReserved="false" />

	<CheckBoxPreference
		app:defaultValue="false"
		app:key="@string/pref_key_subscriptions_alphabetical_order"
		app:title="@string/pref_title_subscriptions_alphabetical_order"
		app:summary="@string/pref_summary_subscriptions_alphabetical_order"
		app:iconSpaceReserved="false" />
	<CheckBoxPreference
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		app:defaultValue="false"
		app:iconSpaceReserved="false"
		app:key="@string/pref_key_use_dislike_api"
		app:summary="@string/pref_summary_use_dislike_api"
		app:title="@string/pref_title_use_dislike_api" />

</PreferenceScreen>