NewPipe/app/src/main/res/xml/content_settings.xml

143 lines
5.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2020-10-09 18:24:02 +00:00
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:title="@string/content">
<ListPreference
2020-02-15 15:29:46 +00:00
android:defaultValue="@string/default_localization_key"
android:entries="@array/app_language_name"
android:entryValues="@array/app_language_code"
android:key="@string/app_language_key"
android:summary="%s"
2020-10-09 18:24:02 +00:00
android:title="@string/app_language_title"
app:iconSpaceReserved="false" />
<ListPreference
2020-02-15 15:29:46 +00:00
android:defaultValue="@string/default_localization_key"
android:entries="@array/language_names"
android:entryValues="@array/language_codes"
android:key="@string/content_language_key"
android:summary="%s"
2020-10-09 18:24:02 +00:00
android:title="@string/content_language_title"
app:iconSpaceReserved="false" />
<ListPreference
2020-02-15 15:29:46 +00:00
android:defaultValue="@string/default_localization_key"
android:entries="@array/country_names"
android:entryValues="@array/country_codes"
android:key="@string/content_country_key"
android:summary="%s"
2020-10-09 18:24:02 +00:00
android:title="@string/default_content_country_title"
app:iconSpaceReserved="false" />
<PreferenceScreen
android:fragment="org.schabi.newpipe.settings.tabs.ChooseTabsFragment"
android:key="@string/main_page_content_key"
2020-10-09 18:24:02 +00:00
android:summary="@string/main_page_content_summary"
android:title="@string/main_page_content"
app:iconSpaceReserved="false" />
2019-12-03 01:46:25 +00:00
<PreferenceScreen
android:fragment="org.schabi.newpipe.settings.PeertubeInstanceListFragment"
android:key="@string/peertube_instance_setup_key"
2020-10-09 18:24:02 +00:00
android:summary="@string/peertube_instance_url_summary"
2019-12-03 01:46:25 +00:00
android:title="@string/peertube_instance_url_title"
2020-10-09 18:24:02 +00:00
app:iconSpaceReserved="false" />
2019-12-03 01:46:25 +00:00
2020-08-27 20:55:57 +00:00
<SwitchPreferenceCompat
android:defaultValue="false"
android:key="@string/show_age_restricted_content"
2020-10-09 18:24:02 +00:00
android:summary="@string/show_age_restricted_content_summary"
android:title="@string/show_age_restricted_content_title"
2020-10-09 18:24:02 +00:00
app:iconSpaceReserved="false" />
2020-08-27 20:55:57 +00:00
<SwitchPreferenceCompat
2020-04-11 22:26:16 +00:00
android:defaultValue="false"
android:key="@string/youtube_restricted_mode_enabled"
2020-10-09 18:24:02 +00:00
android:summary="@string/youtube_restricted_mode_enabled_summary"
android:title="@string/youtube_restricted_mode_enabled_title"
2020-10-09 18:24:02 +00:00
app:iconSpaceReserved="false" />
2020-04-11 22:26:16 +00:00
2020-08-27 20:55:57 +00:00
<SwitchPreferenceCompat
android:defaultValue="true"
android:key="@string/show_search_suggestions_key"
android:summary="@string/show_search_suggestions_summary"
2020-10-09 18:24:02 +00:00
android:title="@string/show_search_suggestions_title"
app:iconSpaceReserved="false" />
2020-08-27 20:55:57 +00:00
<SwitchPreferenceCompat
android:defaultValue="true"
android:key="@string/download_thumbnail_key"
2020-10-09 18:24:02 +00:00
android:summary="@string/download_thumbnail_summary"
android:title="@string/download_thumbnail_title"
2020-10-09 18:24:02 +00:00
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
android:defaultValue="true"
android:key="@string/show_comments_key"
android:summary="@string/show_comments_summary"
android:title="@string/show_comments_title"
app:iconSpaceReserved="false" />
2020-08-27 20:55:57 +00:00
<SwitchPreferenceCompat
android:defaultValue="true"
android:key="@string/show_next_video_key"
2020-10-09 18:24:02 +00:00
android:title="@string/show_next_and_similar_title"
app:iconSpaceReserved="false" />
2020-08-27 20:55:57 +00:00
<SwitchPreferenceCompat
android:defaultValue="true"
android:key="@string/show_description_key"
android:summary="@string/show_description_summary"
android:title="@string/show_description_title"
2020-10-09 18:24:02 +00:00
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
android:defaultValue="true"
android:key="@string/show_meta_info_key"
android:summary="@string/show_meta_info_summary"
android:title="@string/show_meta_info_title"
app:iconSpaceReserved="false" />
2018-01-28 18:02:34 +00:00
<Preference
android:key="@string/import_data"
2020-10-09 18:24:02 +00:00
android:summary="@string/import_data_summary"
android:title="@string/import_data_title"
app:iconSpaceReserved="false" />
2018-01-28 18:02:34 +00:00
<Preference
android:key="@string/export_data"
2020-10-09 18:24:02 +00:00
android:summary="@string/export_data_summary"
android:title="@string/export_data_title"
app:iconSpaceReserved="false" />
<Preference
android:key="@string/clear_cookie_key"
android:summary="@string/clear_cookie_summary"
android:title="@string/clear_cookie_title"
app:iconSpaceReserved="false" />
<PreferenceCategory
android:layout="@layout/settings_category_header_layout"
2020-10-31 19:56:46 +00:00
android:title="@string/settings_category_feed_title"
app:iconSpaceReserved="false">
<org.schabi.newpipe.settings.custom.DurationListPreference
android:defaultValue="@string/feed_update_threshold_default_value"
android:entries="@array/feed_update_threshold_options"
android:entryValues="@array/feed_update_threshold_values"
2020-10-09 18:24:02 +00:00
android:key="@string/feed_update_threshold_key"
android:summary="@string/feed_update_threshold_summary"
android:title="@string/feed_update_threshold_title"
2020-10-09 18:24:02 +00:00
app:iconSpaceReserved="false" />
2020-08-27 20:55:57 +00:00
<SwitchPreferenceCompat
android:defaultValue="false"
android:key="@string/feed_use_dedicated_fetch_method_key"
2020-10-09 18:24:02 +00:00
android:summary="@string/feed_use_dedicated_fetch_method_summary"
android:title="@string/feed_use_dedicated_fetch_method_title"
2020-10-09 18:24:02 +00:00
app:iconSpaceReserved="false" />
</PreferenceCategory>
</PreferenceScreen>