From d69672e1138925f4e1867f402b3eb1f9e3598d11 Mon Sep 17 00:00:00 2001
From: Agnieszka C <85929121+Aga-C@users.noreply.github.com>
Date: Sat, 21 Aug 2021 14:21:55 +0200
Subject: [PATCH 1/2] Added wrapping settings titles to the next line (#6951)
---
app/src/main/res/xml/appearance_settings.xml | 1 +
app/src/main/res/xml/content_settings.xml | 9 +++++++++
app/src/main/res/xml/debug_settings.xml | 4 ++++
app/src/main/res/xml/download_settings.xml | 4 ++++
app/src/main/res/xml/history_settings.xml | 4 ++++
app/src/main/res/xml/notification_settings.xml | 3 +++
app/src/main/res/xml/update_settings.xml | 1 +
app/src/main/res/xml/video_audio_settings.xml | 11 +++++++++++
8 files changed, 37 insertions(+)
diff --git a/app/src/main/res/xml/appearance_settings.xml b/app/src/main/res/xml/appearance_settings.xml
index e1c80829d..ce77ea212 100644
--- a/app/src/main/res/xml/appearance_settings.xml
+++ b/app/src/main/res/xml/appearance_settings.xml
@@ -26,6 +26,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" />
diff --git a/app/src/main/res/xml/debug_settings.xml b/app/src/main/res/xml/debug_settings.xml
index d27d67aad..14b205c9c 100644
--- a/app/src/main/res/xml/debug_settings.xml
+++ b/app/src/main/res/xml/debug_settings.xml
@@ -9,6 +9,7 @@
android:key="@string/allow_heap_dumping_key"
android:summary="@string/enable_leak_canary_summary"
android:title="@string/leakcanary"
+ app:singleLineTitle="false"
app:iconSpaceReserved="false" />
diff --git a/app/src/main/res/xml/history_settings.xml b/app/src/main/res/xml/history_settings.xml
index 4468478a7..75378320e 100644
--- a/app/src/main/res/xml/history_settings.xml
+++ b/app/src/main/res/xml/history_settings.xml
@@ -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" />
diff --git a/app/src/main/res/xml/video_audio_settings.xml b/app/src/main/res/xml/video_audio_settings.xml
index 76b5439cc..cea5361aa 100644
--- a/app/src/main/res/xml/video_audio_settings.xml
+++ b/app/src/main/res/xml/video_audio_settings.xml
@@ -35,6 +35,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" />
From 5c31dff72d7543548757a76e28b63bcdb836d631 Mon Sep 17 00:00:00 2001
From: Agnieszka C <85929121+Aga-C@users.noreply.github.com>
Date: Sat, 21 Aug 2021 18:49:12 +0200
Subject: [PATCH 2/2] Added title wrap to other preferences
---
app/src/main/res/xml/appearance_settings.xml | 5 +++++
app/src/main/res/xml/content_settings.xml | 10 ++++++++++
app/src/main/res/xml/debug_settings.xml | 2 ++
app/src/main/res/xml/download_settings.xml | 5 +++++
app/src/main/res/xml/history_settings.xml | 5 +++++
app/src/main/res/xml/video_audio_settings.xml | 12 ++++++++++++
6 files changed, 39 insertions(+)
diff --git a/app/src/main/res/xml/appearance_settings.xml b/app/src/main/res/xml/appearance_settings.xml
index ce77ea212..f0c6f2aa1 100644
--- a/app/src/main/res/xml/appearance_settings.xml
+++ b/app/src/main/res/xml/appearance_settings.xml
@@ -10,6 +10,7 @@
android:key="@string/theme_key"
android:summary="%s"
android:title="@string/theme_title"
+ app:singleLineTitle="false"
app:iconSpaceReserved="false" />
diff --git a/app/src/main/res/xml/content_settings.xml b/app/src/main/res/xml/content_settings.xml
index 1824260ed..29863be97 100644
--- a/app/src/main/res/xml/content_settings.xml
+++ b/app/src/main/res/xml/content_settings.xml
@@ -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" />
diff --git a/app/src/main/res/xml/download_settings.xml b/app/src/main/res/xml/download_settings.xml
index 403d6984e..fa15af406 100644
--- a/app/src/main/res/xml/download_settings.xml
+++ b/app/src/main/res/xml/download_settings.xml
@@ -23,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" />
diff --git a/app/src/main/res/xml/video_audio_settings.xml b/app/src/main/res/xml/video_audio_settings.xml
index cea5361aa..1b595be0c 100644
--- a/app/src/main/res/xml/video_audio_settings.xml
+++ b/app/src/main/res/xml/video_audio_settings.xml
@@ -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" />
@@ -99,6 +106,7 @@