2017-09-03 03:04:18 -03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PreferenceScreen
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-02-08 17:33:35 -06:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-09-03 03:04:18 -03:00
|
|
|
android:title="@string/content">
|
2020-01-09 09:40:05 +01:00
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
app:iconSpaceReserved="false"
|
2020-02-15 16:29:46 +01:00
|
|
|
android:defaultValue="@string/default_localization_key"
|
2020-01-28 20:48:42 +01:00
|
|
|
android:entries="@array/app_language_name"
|
|
|
|
android:entryValues="@array/app_language_code"
|
|
|
|
android:key="@string/app_language_key"
|
2020-01-09 09:40:05 +01:00
|
|
|
android:summary="%s"
|
2020-01-28 20:48:42 +01:00
|
|
|
android:title="@string/app_language_title"/>
|
2020-01-09 09:40:05 +01:00
|
|
|
|
2017-09-03 03:04:18 -03:00
|
|
|
<ListPreference
|
2019-02-08 17:33:35 -06:00
|
|
|
app:iconSpaceReserved="false"
|
2020-02-15 16:29:46 +01:00
|
|
|
android:defaultValue="@string/default_localization_key"
|
2017-09-03 03:04:18 -03:00
|
|
|
android:entries="@array/language_names"
|
|
|
|
android:entryValues="@array/language_codes"
|
2018-10-05 16:19:21 +02:00
|
|
|
android:key="@string/content_language_key"
|
2017-09-03 03:04:18 -03:00
|
|
|
android:summary="%s"
|
2018-10-05 16:19:21 +02:00
|
|
|
android:title="@string/content_language_title"/>
|
2017-09-03 03:04:18 -03:00
|
|
|
|
2019-10-27 23:35:51 -03:00
|
|
|
<ListPreference
|
|
|
|
app:iconSpaceReserved="false"
|
2020-02-15 16:29:46 +01:00
|
|
|
android:defaultValue="@string/default_localization_key"
|
2019-10-27 23:35:51 -03:00
|
|
|
android:entries="@array/country_names"
|
|
|
|
android:entryValues="@array/country_codes"
|
|
|
|
android:key="@string/content_country_key"
|
|
|
|
android:summary="%s"
|
|
|
|
android:title="@string/default_content_country_title"/>
|
|
|
|
|
2020-03-04 18:41:41 +05:30
|
|
|
<PreferenceScreen
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
android:fragment="org.schabi.newpipe.settings.tabs.ChooseTabsFragment"
|
|
|
|
android:summary="@string/main_page_content_summary"
|
|
|
|
android:key="@string/main_page_content_key"
|
|
|
|
android:title="@string/main_page_content"/>
|
|
|
|
|
2019-12-03 07:16:25 +05:30
|
|
|
<PreferenceScreen
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
android:fragment="org.schabi.newpipe.settings.PeertubeInstanceListFragment"
|
|
|
|
android:key="@string/peertube_instance_setup_key"
|
|
|
|
android:title="@string/peertube_instance_url_title"
|
|
|
|
android:summary="@string/peertube_instance_url_summary"/>
|
|
|
|
|
2017-09-03 03:04:18 -03:00
|
|
|
<SwitchPreference
|
2019-02-08 17:33:35 -06:00
|
|
|
app:iconSpaceReserved="false"
|
2017-09-03 03:04:18 -03:00
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="@string/show_age_restricted_content"
|
|
|
|
android:title="@string/show_age_restricted_content_title"/>
|
|
|
|
|
|
|
|
<SwitchPreference
|
2019-02-08 17:33:35 -06:00
|
|
|
app:iconSpaceReserved="false"
|
2017-09-03 03:04:18 -03:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="@string/show_search_suggestions_key"
|
|
|
|
android:summary="@string/show_search_suggestions_summary"
|
|
|
|
android:title="@string/show_search_suggestions_title"/>
|
2018-03-04 20:16:38 -08:00
|
|
|
|
2018-03-13 20:25:22 -07:00
|
|
|
<SwitchPreference
|
2019-02-08 17:33:35 -06:00
|
|
|
app:iconSpaceReserved="false"
|
2018-03-13 20:25:22 -07:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="@string/download_thumbnail_key"
|
|
|
|
android:title="@string/download_thumbnail_title"
|
|
|
|
android:summary="@string/download_thumbnail_summary"/>
|
|
|
|
|
2020-03-04 18:41:41 +05:30
|
|
|
<SwitchPreference
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="@string/show_next_video_key"
|
|
|
|
android:title="@string/show_next_and_similar_title"/>
|
|
|
|
|
2018-10-02 20:56:14 +05:30
|
|
|
<SwitchPreference
|
2019-02-20 05:24:33 +05:30
|
|
|
app:iconSpaceReserved="false"
|
2018-10-02 20:56:14 +05:30
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="@string/show_comments_key"
|
|
|
|
android:title="@string/show_comments_title"
|
|
|
|
android:summary="@string/show_comments_summary"/>
|
|
|
|
|
2018-01-28 19:02:34 +01:00
|
|
|
<Preference
|
2019-02-08 17:33:35 -06:00
|
|
|
app:iconSpaceReserved="false"
|
2018-01-28 19:02:34 +01:00
|
|
|
android:summary="@string/import_data_summary"
|
|
|
|
android:key="@string/import_data"
|
|
|
|
android:title="@string/import_data_title"/>
|
|
|
|
|
|
|
|
<Preference
|
2019-02-08 17:33:35 -06:00
|
|
|
app:iconSpaceReserved="false"
|
2018-01-28 19:02:34 +01:00
|
|
|
android:title="@string/export_data_title"
|
|
|
|
android:key="@string/export_data"
|
|
|
|
android:summary="@string/export_data_summary"/>
|
2019-12-16 04:36:04 -03:00
|
|
|
|
|
|
|
<PreferenceCategory
|
|
|
|
android:layout="@layout/settings_category_header_layout"
|
|
|
|
android:title="@string/settings_category_feed_title">
|
|
|
|
|
2020-03-05 23:20:55 -03:00
|
|
|
<org.schabi.newpipe.settings.custom.DurationListPreference
|
2019-12-16 04:36:04 -03:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
android:key="@string/feed_update_threshold_key"
|
|
|
|
android:defaultValue="@string/feed_update_threshold_default_value"
|
|
|
|
android:entries="@array/feed_update_threshold_options"
|
|
|
|
android:entryValues="@array/feed_update_threshold_values"
|
|
|
|
android:title="@string/feed_update_threshold_title"
|
|
|
|
android:summary="@string/feed_update_threshold_summary"/>
|
2019-12-16 04:36:04 -03:00
|
|
|
|
|
|
|
<SwitchPreference
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="@string/feed_use_dedicated_fetch_method_key"
|
|
|
|
android:title="@string/feed_use_dedicated_fetch_method_title"
|
|
|
|
android:summary="@string/feed_use_dedicated_fetch_method_summary"/>
|
|
|
|
|
2019-12-16 04:36:04 -03:00
|
|
|
</PreferenceCategory>
|
2017-09-03 03:04:18 -03:00
|
|
|
</PreferenceScreen>
|