Fix issue #92 - Fix truncated title for settings

pull/254/head
Thomas 3 years ago
parent 0ce4dbe238
commit d150e50c1f

@ -9,12 +9,14 @@
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:defaultValue="true" app:defaultValue="true"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:singleLineTitle="false"
app:key="@string/SET_CAPITALIZE" app:key="@string/SET_CAPITALIZE"
app:summary="@string/set_capitalize_indication" app:summary="@string/set_capitalize_indication"
app:title="@string/set_capitalize" /> app:title="@string/set_capitalize" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:defaultValue="true" app:defaultValue="true"
app:singleLineTitle="false"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_PICTURE_COMPRESSED" app:key="@string/SET_PICTURE_COMPRESSED"
app:summary="@string/set_resize_picture_indication" app:summary="@string/set_resize_picture_indication"
@ -22,6 +24,7 @@
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:defaultValue="true" app:defaultValue="true"
app:singleLineTitle="false"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_VIDEO_COMPRESSED" app:key="@string/SET_VIDEO_COMPRESSED"
app:summary="@string/set_resize_video_indication" app:summary="@string/set_resize_video_indication"
@ -29,6 +32,7 @@
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:defaultValue="false" app:defaultValue="false"
app:singleLineTitle="false"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_WATERMARK" app:key="@string/SET_WATERMARK"
app:summary="@string/set_watermark_indication" app:summary="@string/set_watermark_indication"
@ -43,12 +47,14 @@
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:defaultValue="false" app:defaultValue="false"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:singleLineTitle="false"
app:key="@string/SET_DISPLAY_EMOJI" app:key="@string/SET_DISPLAY_EMOJI"
app:title="@string/set_display_emoji" /> app:title="@string/set_display_emoji" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:defaultValue="true" app:defaultValue="true"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:singleLineTitle="false"
app:key="@string/SET_SHARE_DETAILS" app:key="@string/SET_SHARE_DETAILS"
app:title="@string/set_share_details" /> app:title="@string/set_share_details" />

@ -7,12 +7,14 @@
app:defaultValue="true" app:defaultValue="true"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_UNFOLLOW_VALIDATION" app:key="@string/SET_UNFOLLOW_VALIDATION"
app:singleLineTitle="false"
app:summary="@string/set_unfollow_validation" app:summary="@string/set_unfollow_validation"
app:title="@string/set_unfollow_validation_title" /> app:title="@string/set_unfollow_validation_title" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:defaultValue="false" app:defaultValue="false"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:singleLineTitle="false"
app:key="@string/SET_CLEAR_CACHE_EXIT" app:key="@string/SET_CLEAR_CACHE_EXIT"
app:summary="@string/set_clear_cache_exit_indication" app:summary="@string/set_clear_cache_exit_indication"
app:title="@string/set_clear_cache_exit" /> app:title="@string/set_clear_cache_exit" />
@ -20,6 +22,7 @@
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:defaultValue="true" app:defaultValue="true"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:singleLineTitle="false"
app:key="@string/SET_EMBEDDED_BROWSER" app:key="@string/SET_EMBEDDED_BROWSER"
app:title="@string/embedded_browser" /> app:title="@string/embedded_browser" />
@ -27,6 +30,7 @@
app:defaultValue="false" app:defaultValue="false"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_SEND_CRASH_REPORTS" app:key="@string/SET_SEND_CRASH_REPORTS"
app:singleLineTitle="false"
app:summary="@string/set_enable_crash_report_indication" app:summary="@string/set_enable_crash_report_indication"
app:title="@string/set_enable_crash_report" /> app:title="@string/set_enable_crash_report" />

@ -25,31 +25,37 @@
app:title="@string/settings_category_notif_categories"> app:title="@string/settings_category_notif_categories">
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:defaultValue="true" app:defaultValue="true"
app:singleLineTitle="false"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_NOTIF_FOLLOW" app:key="@string/SET_NOTIF_FOLLOW"
app:title="@string/set_notif_follow" /> app:title="@string/set_notif_follow" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:defaultValue="true" app:defaultValue="true"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:singleLineTitle="false"
app:key="@string/SET_NOTIF_MENTION" app:key="@string/SET_NOTIF_MENTION"
app:title="@string/set_notif_follow_mention" /> app:title="@string/set_notif_follow_mention" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:defaultValue="true" app:defaultValue="true"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:singleLineTitle="false"
app:key="@string/SET_NOTIF_FAVOURITE" app:key="@string/SET_NOTIF_FAVOURITE"
app:title="@string/set_notif_follow_add" /> app:title="@string/set_notif_follow_add" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:defaultValue="true" app:defaultValue="true"
app:singleLineTitle="false"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_NOTIF_SHARE" app:key="@string/SET_NOTIF_SHARE"
app:title="@string/set_notif_follow_share" /> app:title="@string/set_notif_follow_share" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:defaultValue="true" app:defaultValue="true"
app:singleLineTitle="false"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_NOTIF_POLL" app:key="@string/SET_NOTIF_POLL"
app:title="@string/set_notif_follow_poll" /> app:title="@string/set_notif_follow_poll" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:defaultValue="true" app:defaultValue="true"
app:singleLineTitle="false"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_NOTIF_STATUS" app:key="@string/SET_NOTIF_STATUS"
app:title="@string/set_notif_status" /> app:title="@string/set_notif_status" />
@ -90,8 +96,9 @@
app:key="button_media" app:key="button_media"
app:title="@string/channel_notif_media" /> app:title="@string/channel_notif_media" />
<SwitchPreference <SwitchPreferenceCompat
app:defaultValue="false" app:defaultValue="false"
app:singleLineTitle="false"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_NOTIF_SILENT" app:key="@string/SET_NOTIF_SILENT"
app:title="@string/set_notif_silent" /> app:title="@string/set_notif_silent" />
@ -113,8 +120,9 @@
app:key="notification_time_slot" app:key="notification_time_slot"
app:summary="@string/set_enable_time_slot_indication" app:summary="@string/set_enable_time_slot_indication"
app:title="@string/set_enable_time_slot"> app:title="@string/set_enable_time_slot">
<SwitchPreference <SwitchPreferenceCompat
app:defaultValue="false" app:defaultValue="false"
app:singleLineTitle="false"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_ENABLE_TIME_SLOT" app:key="@string/SET_ENABLE_TIME_SLOT"
app:title="@string/set_enable_time_slot" /> app:title="@string/set_enable_time_slot" />

@ -8,6 +8,7 @@
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_INVIDIOUS" app:key="@string/SET_INVIDIOUS"
app:singleLineTitle="false"
app:summary="@string/replace_youtube_description" app:summary="@string/replace_youtube_description"
app:title="@string/replace_youtube" /> app:title="@string/replace_youtube" />
@ -23,6 +24,7 @@
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_NITTER" app:key="@string/SET_NITTER"
app:singleLineTitle="false"
app:summary="@string/replace_twitter_description" app:summary="@string/replace_twitter_description"
app:title="@string/replace_twitter" /> app:title="@string/replace_twitter" />
@ -38,6 +40,7 @@
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_BIBLIOGRAM" app:key="@string/SET_BIBLIOGRAM"
app:singleLineTitle="false"
app:summary="@string/replace_instagram_description" app:summary="@string/replace_instagram_description"
app:title="@string/replace_instagram" /> app:title="@string/replace_instagram" />
@ -53,6 +56,7 @@
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_LIBREDDIT" app:key="@string/SET_LIBREDDIT"
app:singleLineTitle="false"
app:summary="@string/replace_reddit_description" app:summary="@string/replace_reddit_description"
app:title="@string/replace_reddit" /> app:title="@string/replace_reddit" />
@ -67,6 +71,7 @@
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/REPLACE_MEDIUM" app:key="@string/REPLACE_MEDIUM"
app:singleLineTitle="false"
app:summary="@string/replace_medium_description" app:summary="@string/replace_medium_description"
app:title="@string/replace_medium" /> app:title="@string/replace_medium" />
@ -87,6 +92,7 @@
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_FILTER_UTM" app:key="@string/SET_FILTER_UTM"
app:singleLineTitle="false"
app:summary="@string/set_utm_parameters_indication" app:summary="@string/set_utm_parameters_indication"
app:title="@string/set_utm_parameters" /> app:title="@string/set_utm_parameters" />

@ -15,6 +15,7 @@
app:defaultValue="false" app:defaultValue="false"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="use_custom_theme" app:key="use_custom_theme"
app:singleLineTitle="false"
app:summary="@string/pref_custom_theme_new_summary" app:summary="@string/pref_custom_theme_new_summary"
app:title="@string/pref_custom_theme" /> app:title="@string/pref_custom_theme" />

@ -4,26 +4,31 @@
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
android:defaultValue="false" android:defaultValue="false"
app:singleLineTitle="false"
app:key="@string/SET_EXPAND_CW" app:key="@string/SET_EXPAND_CW"
app:title="@string/expand_cw" /> app:title="@string/expand_cw" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
android:defaultValue="false" android:defaultValue="false"
app:singleLineTitle="false"
app:key="@string/SET_EXPAND_MEDIA" app:key="@string/SET_EXPAND_MEDIA"
app:title="@string/expand_image" /> app:title="@string/expand_image" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
android:defaultValue="true" android:defaultValue="true"
app:singleLineTitle="false"
app:key="@string/SET_NOTIF_VALIDATION" app:key="@string/SET_NOTIF_VALIDATION"
app:title="@string/set_share_validation" /> app:title="@string/set_share_validation" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
android:defaultValue="false" android:defaultValue="false"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:singleLineTitle="false"
app:key="@string/SET_DISPLAY_BOOKMARK" app:key="@string/SET_DISPLAY_BOOKMARK"
app:title="@string/set_display_bookmark_indication" /> app:title="@string/set_display_bookmark_indication" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
android:defaultValue="false" android:defaultValue="false"
app:singleLineTitle="false"
app:key="@string/SET_NOTIF_VALIDATION_FAV" app:key="@string/SET_NOTIF_VALIDATION_FAV"
app:title="@string/set_share_validation_fav" /> app:title="@string/set_share_validation_fav" />
<SeekBarPreference <SeekBarPreference
@ -37,28 +42,33 @@
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
android:defaultValue="false" android:defaultValue="false"
app:singleLineTitle="false"
app:key="@string/SET_LONG_PRESS_MEDIA" app:key="@string/SET_LONG_PRESS_MEDIA"
app:title="@string/set_long_press_media" /> app:title="@string/set_long_press_media" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
android:defaultValue="false" android:defaultValue="false"
app:key="@string/SET_FULL_PREVIEW" app:key="@string/SET_FULL_PREVIEW"
app:singleLineTitle="false"
android:summary="@string/set_fit_preview_indication" android:summary="@string/set_fit_preview_indication"
app:title="@string/set_fit_preview" /> app:title="@string/set_fit_preview" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
android:defaultValue="false" android:defaultValue="false"
app:singleLineTitle="false"
app:key="@string/SET_DISABLE_GIF" app:key="@string/SET_DISABLE_GIF"
app:title="@string/set_disable_gif" /> app:title="@string/set_disable_gif" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
android:defaultValue="false" android:defaultValue="false"
app:singleLineTitle="false"
app:key="@string/SET_DISABLE_ANIMATED_EMOJI" app:key="@string/SET_DISABLE_ANIMATED_EMOJI"
app:title="@string/set_disable_animated_emoji" /> app:title="@string/set_disable_animated_emoji" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
android:defaultValue="false" android:defaultValue="false"
app:singleLineTitle="false"
app:key="@string/SET_DISPLAY_CARD" app:key="@string/SET_DISPLAY_CARD"
app:title="@string/set_display_card" /> app:title="@string/set_display_card" />

Loading…
Cancel
Save