Fix issue #92 - Fix truncated title for settings

This commit is contained in:
Thomas 2022-05-24 09:25:28 +02:00
parent 0ce4dbe238
commit d150e50c1f
7 changed files with 38 additions and 3 deletions

View file

@ -114,7 +114,7 @@
android:tint="@color/cyanea_accent_reference"
android:layout_width="20dp"
android:visibility="gone" />
</androidx.appcompat.widget.LinearLayoutCompat>
<com.google.android.material.divider.MaterialDivider

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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