Added title wrap to other preferences

This commit is contained in:
Agnieszka C 2021-08-21 18:49:12 +02:00
parent d69672e113
commit 5c31dff72d
6 changed files with 39 additions and 0 deletions

View File

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

View File

@ -10,6 +10,7 @@
android:key="@string/app_language_key" android:key="@string/app_language_key"
android:summary="%s" android:summary="%s"
android:title="@string/app_language_title" android:title="@string/app_language_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<ListPreference <ListPreference
@ -19,6 +20,7 @@
android:key="@string/content_language_key" android:key="@string/content_language_key"
android:summary="%s" android:summary="%s"
android:title="@string/content_language_title" android:title="@string/content_language_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<ListPreference <ListPreference
@ -28,6 +30,7 @@
android:key="@string/content_country_key" android:key="@string/content_country_key"
android:summary="%s" android:summary="%s"
android:title="@string/default_content_country_title" android:title="@string/default_content_country_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<PreferenceScreen <PreferenceScreen
@ -35,6 +38,7 @@
android:key="@string/main_page_content_key" android:key="@string/main_page_content_key"
android:summary="@string/main_page_content_summary" android:summary="@string/main_page_content_summary"
android:title="@string/main_page_content" android:title="@string/main_page_content"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<PreferenceScreen <PreferenceScreen
@ -42,6 +46,7 @@
android:key="@string/peertube_instance_setup_key" android:key="@string/peertube_instance_setup_key"
android:summary="@string/peertube_instance_url_summary" android:summary="@string/peertube_instance_url_summary"
android:title="@string/peertube_instance_url_title" android:title="@string/peertube_instance_url_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
@ -111,23 +116,27 @@
android:key="@string/import_data" android:key="@string/import_data"
android:summary="@string/import_data_summary" android:summary="@string/import_data_summary"
android:title="@string/import_data_title" android:title="@string/import_data_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<Preference <Preference
android:key="@string/export_data" android:key="@string/export_data"
android:summary="@string/export_data_summary" android:summary="@string/export_data_summary"
android:title="@string/export_data_title" android:title="@string/export_data_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<Preference <Preference
android:key="@string/clear_cookie_key" android:key="@string/clear_cookie_key"
android:summary="@string/clear_cookie_summary" android:summary="@string/clear_cookie_summary"
android:title="@string/clear_cookie_title" android:title="@string/clear_cookie_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<PreferenceCategory <PreferenceCategory
android:layout="@layout/settings_category_header_layout" android:layout="@layout/settings_category_header_layout"
android:title="@string/settings_category_feed_title" android:title="@string/settings_category_feed_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false"> app:iconSpaceReserved="false">
<org.schabi.newpipe.settings.custom.DurationListPreference <org.schabi.newpipe.settings.custom.DurationListPreference
@ -137,6 +146,7 @@
android:key="@string/feed_update_threshold_key" android:key="@string/feed_update_threshold_key"
android:summary="@string/feed_update_threshold_summary" android:summary="@string/feed_update_threshold_summary"
android:title="@string/feed_update_threshold_title" android:title="@string/feed_update_threshold_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<SwitchPreferenceCompat <SwitchPreferenceCompat

View File

@ -15,6 +15,7 @@
<Preference <Preference
android:key="@string/show_memory_leaks_key" android:key="@string/show_memory_leaks_key"
android:title="@string/show_memory_leaks" android:title="@string/show_memory_leaks"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
@ -44,5 +45,6 @@
<Preference <Preference
android:key="@string/crash_the_app_key" android:key="@string/crash_the_app_key"
android:title="@string/crash_the_app" android:title="@string/crash_the_app"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
</PreferenceScreen> </PreferenceScreen>

View File

@ -23,6 +23,7 @@
android:key="@string/download_path_video_key" android:key="@string/download_path_video_key"
android:summary="@string/download_path_summary" android:summary="@string/download_path_summary"
android:title="@string/download_path_title" android:title="@string/download_path_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<Preference <Preference
@ -30,6 +31,7 @@
android:key="@string/download_path_audio_key" android:key="@string/download_path_audio_key"
android:summary="@string/download_path_audio_summary" android:summary="@string/download_path_audio_summary"
android:title="@string/download_path_audio_title" android:title="@string/download_path_audio_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<ListPreference <ListPreference
@ -39,6 +41,7 @@
android:key="@string/settings_file_charset_key" android:key="@string/settings_file_charset_key"
android:summary="%s" android:summary="%s"
android:title="@string/settings_file_charset_title" android:title="@string/settings_file_charset_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<EditTextPreference <EditTextPreference
@ -46,6 +49,7 @@
android:key="@string/settings_file_replacement_character_key" android:key="@string/settings_file_replacement_character_key"
android:summary="@string/settings_file_replacement_character_summary" android:summary="@string/settings_file_replacement_character_summary"
android:title="@string/settings_file_replacement_character_title" android:title="@string/settings_file_replacement_character_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<ListPreference <ListPreference
@ -55,6 +59,7 @@
android:key="@string/downloads_maximum_retry" android:key="@string/downloads_maximum_retry"
android:summary="@string/max_retry_desc" android:summary="@string/max_retry_desc"
android:title="@string/max_retry_msg" android:title="@string/max_retry_msg"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<SwitchPreferenceCompat <SwitchPreferenceCompat

View File

@ -40,30 +40,35 @@
<PreferenceCategory <PreferenceCategory
android:layout="@layout/settings_category_header_layout" android:layout="@layout/settings_category_header_layout"
android:title="@string/settings_category_clear_data_title" android:title="@string/settings_category_clear_data_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false"> app:iconSpaceReserved="false">
<Preference <Preference
android:key="@string/metadata_cache_wipe_key" android:key="@string/metadata_cache_wipe_key"
android:summary="@string/metadata_cache_wipe_summary" android:summary="@string/metadata_cache_wipe_summary"
android:title="@string/metadata_cache_wipe_title" android:title="@string/metadata_cache_wipe_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<Preference <Preference
android:key="@string/clear_views_history_key" android:key="@string/clear_views_history_key"
android:summary="@string/clear_views_history_summary" android:summary="@string/clear_views_history_summary"
android:title="@string/clear_views_history_title" android:title="@string/clear_views_history_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<Preference <Preference
android:key="@string/clear_playback_states_key" android:key="@string/clear_playback_states_key"
android:summary="@string/clear_playback_states_summary" android:summary="@string/clear_playback_states_summary"
android:title="@string/clear_playback_states_title" android:title="@string/clear_playback_states_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<Preference <Preference
android:key="@string/clear_search_history_key" android:key="@string/clear_search_history_key"
android:summary="@string/clear_search_history_summary" android:summary="@string/clear_search_history_summary"
android:title="@string/clear_search_history_title" android:title="@string/clear_search_history_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
</PreferenceCategory> </PreferenceCategory>

View File

@ -10,6 +10,7 @@
android:key="@string/default_resolution_key" android:key="@string/default_resolution_key"
android:summary="%s" android:summary="%s"
android:title="@string/default_resolution_title" android:title="@string/default_resolution_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<ListPreference <ListPreference
@ -19,6 +20,7 @@
android:key="@string/default_popup_resolution_key" android:key="@string/default_popup_resolution_key"
android:summary="%s" android:summary="%s"
android:title="@string/default_popup_resolution_title" android:title="@string/default_popup_resolution_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<ListPreference <ListPreference
@ -28,6 +30,7 @@
android:key="@string/limit_mobile_data_usage_key" android:key="@string/limit_mobile_data_usage_key"
android:summary="%s" android:summary="%s"
android:title="@string/limit_mobile_data_usage_title" android:title="@string/limit_mobile_data_usage_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
@ -45,6 +48,7 @@
android:key="@string/default_video_format_key" android:key="@string/default_video_format_key"
android:summary="%s" android:summary="%s"
android:title="@string/default_video_format_title" android:title="@string/default_video_format_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<ListPreference <ListPreference
@ -54,11 +58,13 @@
android:key="@string/default_audio_format_key" android:key="@string/default_audio_format_key"
android:summary="%s" android:summary="%s"
android:title="@string/default_audio_format_title" android:title="@string/default_audio_format_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<PreferenceCategory <PreferenceCategory
android:layout="@layout/settings_category_header_layout" android:layout="@layout/settings_category_header_layout"
android:title="@string/settings_category_player_title" android:title="@string/settings_category_player_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false"> app:iconSpaceReserved="false">
<SwitchPreferenceCompat <SwitchPreferenceCompat
@ -92,6 +98,7 @@
android:key="@string/seekbar_preview_thumbnail_key" android:key="@string/seekbar_preview_thumbnail_key"
android:summary="%s" android:summary="%s"
android:title="@string/seekbar_preview_thumbnail_title" android:title="@string/seekbar_preview_thumbnail_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
</PreferenceCategory> </PreferenceCategory>
@ -99,6 +106,7 @@
<PreferenceCategory <PreferenceCategory
android:layout="@layout/settings_category_header_layout" android:layout="@layout/settings_category_header_layout"
android:title="@string/settings_category_player_behavior_title" android:title="@string/settings_category_player_behavior_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false"> app:iconSpaceReserved="false">
<ListPreference <ListPreference
@ -108,6 +116,7 @@
android:key="@string/preferred_open_action_key" android:key="@string/preferred_open_action_key"
android:summary="@string/preferred_open_action_settings_summary" android:summary="@string/preferred_open_action_settings_summary"
android:title="@string/preferred_open_action_settings_title" android:title="@string/preferred_open_action_settings_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<ListPreference <ListPreference
@ -117,6 +126,7 @@
android:key="@string/minimize_on_exit_key" android:key="@string/minimize_on_exit_key"
android:summary="@string/minimize_on_exit_summary" android:summary="@string/minimize_on_exit_summary"
android:title="@string/minimize_on_exit_title" android:title="@string/minimize_on_exit_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<ListPreference <ListPreference
@ -126,6 +136,7 @@
android:key="@string/autoplay_key" android:key="@string/autoplay_key"
android:summary="@string/autoplay_summary" android:summary="@string/autoplay_summary"
android:title="@string/autoplay_title" android:title="@string/autoplay_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
@ -183,6 +194,7 @@
android:key="@string/seek_duration_key" android:key="@string/seek_duration_key"
android:summary="%s" android:summary="%s"
android:title="@string/seek_duration_title" android:title="@string/seek_duration_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<SwitchPreferenceCompat <SwitchPreferenceCompat