mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-11-09 03:20:00 +00:00
115 lines
4.5 KiB
XML
115 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PreferenceScreen
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:title="@string/content">
|
|
|
|
<ListPreference
|
|
app:iconSpaceReserved="false"
|
|
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"
|
|
android:title="@string/app_language_title"/>
|
|
|
|
<ListPreference
|
|
app:iconSpaceReserved="false"
|
|
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"
|
|
android:title="@string/content_language_title"/>
|
|
|
|
<ListPreference
|
|
app:iconSpaceReserved="false"
|
|
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"
|
|
android:title="@string/default_content_country_title"/>
|
|
|
|
<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"/>
|
|
|
|
<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"/>
|
|
|
|
<SwitchPreference
|
|
app:iconSpaceReserved="false"
|
|
android:defaultValue="false"
|
|
android:key="@string/show_age_restricted_content"
|
|
android:title="@string/show_age_restricted_content_title"/>
|
|
|
|
<SwitchPreference
|
|
app:iconSpaceReserved="false"
|
|
android:defaultValue="true"
|
|
android:key="@string/show_search_suggestions_key"
|
|
android:summary="@string/show_search_suggestions_summary"
|
|
android:title="@string/show_search_suggestions_title"/>
|
|
|
|
<SwitchPreference
|
|
app:iconSpaceReserved="false"
|
|
android:defaultValue="true"
|
|
android:key="@string/download_thumbnail_key"
|
|
android:title="@string/download_thumbnail_title"
|
|
android:summary="@string/download_thumbnail_summary"/>
|
|
|
|
<SwitchPreference
|
|
app:iconSpaceReserved="false"
|
|
android:defaultValue="true"
|
|
android:key="@string/show_next_video_key"
|
|
android:title="@string/show_next_and_similar_title"/>
|
|
|
|
<SwitchPreference
|
|
app:iconSpaceReserved="false"
|
|
android:defaultValue="true"
|
|
android:key="@string/show_comments_key"
|
|
android:title="@string/show_comments_title"
|
|
android:summary="@string/show_comments_summary"/>
|
|
|
|
<Preference
|
|
app:iconSpaceReserved="false"
|
|
android:summary="@string/import_data_summary"
|
|
android:key="@string/import_data"
|
|
android:title="@string/import_data_title"/>
|
|
|
|
<Preference
|
|
app:iconSpaceReserved="false"
|
|
android:title="@string/export_data_title"
|
|
android:key="@string/export_data"
|
|
android:summary="@string/export_data_summary"/>
|
|
|
|
<PreferenceCategory
|
|
android:layout="@layout/settings_category_header_layout"
|
|
android:title="@string/settings_category_feed_title">
|
|
|
|
<org.schabi.newpipe.settings.custom.DurationListPreference
|
|
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"/>
|
|
|
|
<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"/>
|
|
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|