Merge pull request #6952 from Aga-C/wrap-settings-titles

Added wrapping settings titles to the next line
This commit is contained in:
Tobi 2021-08-22 22:34:07 +02:00 committed by GitHub
commit e4dfce9ee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 76 additions and 0 deletions

View File

@ -10,6 +10,7 @@
android:key="@string/theme_key"
android:summary="%s"
android:title="@string/theme_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<ListPreference
@ -19,6 +20,7 @@
android:key="@string/night_theme_key"
android:summary="@string/night_theme_summary"
android:title="@string/night_theme_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -26,6 +28,7 @@
android:key="@string/show_hold_to_append_key"
android:summary="@string/show_hold_to_append_summary"
android:title="@string/show_hold_to_append_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<ListPreference
@ -35,12 +38,14 @@
android:key="@string/list_view_mode_key"
android:summary="%s"
android:title="@string/list_view_mode"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<Preference
android:key="@string/caption_settings_key"
android:summary="@string/caption_setting_description"
android:title="@string/caption_setting_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<ListPreference
@ -50,5 +55,6 @@
android:key="@string/tablet_mode_key"
android:summary="%s"
android:title="@string/tablet_mode_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
</PreferenceScreen>

View File

@ -10,6 +10,7 @@
android:key="@string/app_language_key"
android:summary="%s"
android:title="@string/app_language_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<ListPreference
@ -19,6 +20,7 @@
android:key="@string/content_language_key"
android:summary="%s"
android:title="@string/content_language_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<ListPreference
@ -28,6 +30,7 @@
android:key="@string/content_country_key"
android:summary="%s"
android:title="@string/default_content_country_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<PreferenceScreen
@ -35,6 +38,7 @@
android:key="@string/main_page_content_key"
android:summary="@string/main_page_content_summary"
android:title="@string/main_page_content"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<PreferenceScreen
@ -42,6 +46,7 @@
android:key="@string/peertube_instance_setup_key"
android:summary="@string/peertube_instance_url_summary"
android:title="@string/peertube_instance_url_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -49,6 +54,7 @@
android:key="@string/show_age_restricted_content"
android:summary="@string/show_age_restricted_content_summary"
android:title="@string/show_age_restricted_content_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -56,6 +62,7 @@
android:key="@string/youtube_restricted_mode_enabled"
android:summary="@string/youtube_restricted_mode_enabled_summary"
android:title="@string/youtube_restricted_mode_enabled_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -63,6 +70,7 @@
android:key="@string/show_search_suggestions_key"
android:summary="@string/show_search_suggestions_summary"
android:title="@string/show_search_suggestions_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -70,6 +78,7 @@
android:key="@string/download_thumbnail_key"
android:summary="@string/download_thumbnail_summary"
android:title="@string/download_thumbnail_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -77,12 +86,14 @@
android:key="@string/show_comments_key"
android:summary="@string/show_comments_summary"
android:title="@string/show_comments_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
android:defaultValue="true"
android:key="@string/show_next_video_key"
android:title="@string/show_next_and_similar_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -90,6 +101,7 @@
android:key="@string/show_description_key"
android:summary="@string/show_description_summary"
android:title="@string/show_description_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -97,29 +109,34 @@
android:key="@string/show_meta_info_key"
android:summary="@string/show_meta_info_summary"
android:title="@string/show_meta_info_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<Preference
android:key="@string/import_data"
android:summary="@string/import_data_summary"
android:title="@string/import_data_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<Preference
android:key="@string/export_data"
android:summary="@string/export_data_summary"
android:title="@string/export_data_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<Preference
android:key="@string/clear_cookie_key"
android:summary="@string/clear_cookie_summary"
android:title="@string/clear_cookie_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<PreferenceCategory
android:layout="@layout/settings_category_header_layout"
android:title="@string/settings_category_feed_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false">
<org.schabi.newpipe.settings.custom.DurationListPreference
@ -129,6 +146,7 @@
android:key="@string/feed_update_threshold_key"
android:summary="@string/feed_update_threshold_summary"
android:title="@string/feed_update_threshold_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -136,6 +154,7 @@
android:key="@string/feed_use_dedicated_fetch_method_key"
android:summary="@string/feed_use_dedicated_fetch_method_summary"
android:title="@string/feed_use_dedicated_fetch_method_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
</PreferenceCategory>

View File

@ -9,11 +9,13 @@
android:key="@string/allow_heap_dumping_key"
android:summary="@string/enable_leak_canary_summary"
android:title="@string/leakcanary"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<Preference
android:key="@string/show_memory_leaks_key"
android:title="@string/show_memory_leaks"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -21,6 +23,7 @@
android:key="@string/allow_disposed_exceptions_key"
android:summary="@string/enable_disposed_exceptions_summary"
android:title="@string/enable_disposed_exceptions_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -28,6 +31,7 @@
android:key="@string/show_original_time_ago_key"
android:summary="@string/show_original_time_ago_summary"
android:title="@string/show_original_time_ago_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -35,10 +39,12 @@
android:key="@string/disable_media_tunneling_key"
android:summary="@string/disable_media_tunneling_summary"
android:title="@string/disable_media_tunneling_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<Preference
android:key="@string/crash_the_app_key"
android:title="@string/crash_the_app"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
</PreferenceScreen>

View File

@ -8,12 +8,14 @@
android:key="@string/downloads_storage_ask"
android:summary="@string/downloads_storage_ask_summary"
android:title="@string/downloads_storage_ask_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
android:key="@string/storage_use_saf"
android:summary="@string/downloads_storage_use_saf_summary"
android:title="@string/downloads_storage_use_saf_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<Preference
@ -21,6 +23,7 @@
android:key="@string/download_path_video_key"
android:summary="@string/download_path_summary"
android:title="@string/download_path_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<Preference
@ -28,6 +31,7 @@
android:key="@string/download_path_audio_key"
android:summary="@string/download_path_audio_summary"
android:title="@string/download_path_audio_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<ListPreference
@ -37,6 +41,7 @@
android:key="@string/settings_file_charset_key"
android:summary="%s"
android:title="@string/settings_file_charset_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<EditTextPreference
@ -44,6 +49,7 @@
android:key="@string/settings_file_replacement_character_key"
android:summary="@string/settings_file_replacement_character_summary"
android:title="@string/settings_file_replacement_character_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<ListPreference
@ -53,6 +59,7 @@
android:key="@string/downloads_maximum_retry"
android:summary="@string/max_retry_desc"
android:title="@string/max_retry_msg"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -60,6 +67,7 @@
android:key="@string/downloads_cross_network"
android:summary="@string/pause_downloads_on_mobile_desc"
android:title="@string/pause_downloads_on_mobile"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -67,6 +75,7 @@
android:key="@string/downloads_queue_limit"
android:summary="@string/enable_queue_limit_desc"
android:title="@string/enable_queue_limit"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
</PreferenceScreen>

View File

@ -9,6 +9,7 @@
android:key="@string/enable_watch_history_key"
android:summary="@string/enable_watch_history_summary"
android:title="@string/enable_watch_history_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -17,6 +18,7 @@
android:key="@string/enable_playback_resume_key"
android:summary="@string/enable_playback_resume_summary"
android:title="@string/enable_playback_resume_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -24,6 +26,7 @@
android:key="@string/enable_playback_state_lists_key"
android:summary="@string/enable_playback_state_lists_summary"
android:title="@string/enable_playback_state_lists_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -31,35 +34,41 @@
android:key="@string/enable_search_history_key"
android:summary="@string/enable_search_history_summary"
android:title="@string/enable_search_history_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<PreferenceCategory
android:layout="@layout/settings_category_header_layout"
android:title="@string/settings_category_clear_data_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false">
<Preference
android:key="@string/metadata_cache_wipe_key"
android:summary="@string/metadata_cache_wipe_summary"
android:title="@string/metadata_cache_wipe_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<Preference
android:key="@string/clear_views_history_key"
android:summary="@string/clear_views_history_summary"
android:title="@string/clear_views_history_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<Preference
android:key="@string/clear_playback_states_key"
android:summary="@string/clear_playback_states_summary"
android:title="@string/clear_playback_states_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<Preference
android:key="@string/clear_search_history_key"
android:summary="@string/clear_search_history_summary"
android:title="@string/clear_search_history_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
</PreferenceCategory>

View File

@ -8,6 +8,7 @@
android:key="@string/scale_to_square_image_in_notifications_key"
android:summary="@string/notification_scale_to_square_image_summary"
android:title="@string/notification_scale_to_square_image_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -15,6 +16,7 @@
android:key="@string/notification_colorize_key"
android:summary="@string/notification_colorize_summary"
android:title="@string/notification_colorize_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -22,6 +24,7 @@
android:key="@string/show_thumbnail_key"
android:title="@string/show_thumbnail_title"
android:summary="@string/show_thumbnail_summary"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<PreferenceCategory

View File

@ -9,6 +9,7 @@
android:key="@string/update_app_key"
android:summary="@string/updates_setting_description"
android:title="@string/updates_setting_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
</PreferenceScreen>

View File

@ -10,6 +10,7 @@
android:key="@string/default_resolution_key"
android:summary="%s"
android:title="@string/default_resolution_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<ListPreference
@ -19,6 +20,7 @@
android:key="@string/default_popup_resolution_key"
android:summary="%s"
android:title="@string/default_popup_resolution_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<ListPreference
@ -28,6 +30,7 @@
android:key="@string/limit_mobile_data_usage_key"
android:summary="%s"
android:title="@string/limit_mobile_data_usage_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -35,6 +38,7 @@
android:key="@string/show_higher_resolutions_key"
android:summary="@string/show_higher_resolutions_summary"
android:title="@string/show_higher_resolutions_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<ListPreference
@ -44,6 +48,7 @@
android:key="@string/default_video_format_key"
android:summary="%s"
android:title="@string/default_video_format_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<ListPreference
@ -53,11 +58,13 @@
android:key="@string/default_audio_format_key"
android:summary="%s"
android:title="@string/default_audio_format_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<PreferenceCategory
android:layout="@layout/settings_category_header_layout"
android:title="@string/settings_category_player_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false">
<SwitchPreferenceCompat
@ -65,12 +72,14 @@
android:key="@string/use_external_video_player_key"
android:summary="@string/use_external_video_player_summary"
android:title="@string/use_external_video_player_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
android:defaultValue="false"
android:key="@string/use_external_audio_player_key"
android:title="@string/use_external_audio_player_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -78,6 +87,7 @@
android:key="@string/show_play_with_kodi_key"
android:summary="@string/show_play_with_kodi_summary"
android:title="@string/show_play_with_kodi_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<ListPreference
android:layout_width="wrap_content"
@ -88,6 +98,7 @@
android:key="@string/seekbar_preview_thumbnail_key"
android:summary="%s"
android:title="@string/seekbar_preview_thumbnail_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
</PreferenceCategory>
@ -95,6 +106,7 @@
<PreferenceCategory
android:layout="@layout/settings_category_header_layout"
android:title="@string/settings_category_player_behavior_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false">
<ListPreference
@ -104,6 +116,7 @@
android:key="@string/preferred_open_action_key"
android:summary="@string/preferred_open_action_settings_summary"
android:title="@string/preferred_open_action_settings_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<ListPreference
@ -113,6 +126,7 @@
android:key="@string/minimize_on_exit_key"
android:summary="@string/minimize_on_exit_summary"
android:title="@string/minimize_on_exit_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<ListPreference
@ -122,6 +136,7 @@
android:key="@string/autoplay_key"
android:summary="@string/autoplay_summary"
android:title="@string/autoplay_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -129,6 +144,7 @@
android:key="@string/auto_queue_key"
android:summary="@string/auto_queue_summary"
android:title="@string/auto_queue_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -136,6 +152,7 @@
android:key="@string/resume_on_audio_focus_gain_key"
android:summary="@string/resume_on_audio_focus_gain_summary"
android:title="@string/resume_on_audio_focus_gain_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -143,6 +160,7 @@
android:key="@string/volume_gesture_control_key"
android:summary="@string/volume_gesture_control_summary"
android:title="@string/volume_gesture_control_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -150,6 +168,7 @@
android:key="@string/brightness_gesture_control_key"
android:summary="@string/brightness_gesture_control_summary"
android:title="@string/brightness_gesture_control_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -157,6 +176,7 @@
android:key="@string/popup_remember_size_pos_key"
android:summary="@string/popup_remember_size_pos_summary"
android:title="@string/popup_remember_size_pos_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -164,6 +184,7 @@
android:key="@string/use_inexact_seek_key"
android:summary="@string/use_inexact_seek_summary"
android:title="@string/use_inexact_seek_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<ListPreference
@ -173,6 +194,7 @@
android:key="@string/seek_duration_key"
android:summary="%s"
android:title="@string/seek_duration_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
@ -180,6 +202,7 @@
android:key="@string/clear_queue_confirmation_key"
android:summary="@string/clear_queue_confirmation_summary"
android:title="@string/clear_queue_confirmation_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
</PreferenceCategory>