Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da5e714c authored by Schneider Victor-tulias's avatar Schneider Victor-tulias
Browse files

Fix homescreen deep shortcuts text spanning two rows.

Deep shortcut text can span two lines on certain languages. Set translation character limits and increased options popup width.

Fixes: 175698383

Test: manual

Screenshot: https://screenshot.googleplex.com/4BArwKVSFg3VbTc.png
Change-Id: I263b859246fa6475591a65f92189e41a920beefe
parent b76e4dbc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
        android:paddingStart="@dimen/deep_shortcuts_text_padding_start"
        android:paddingEnd="@dimen/popup_padding_end"
        android:textSize="14sp"
        android:maxLines="2"
        android:maxLines="1"
        android:textColor="?android:attr/textColorPrimary"
        launcher:iconDisplay="shortcut_popup"
        launcher:layoutHorizontal="true"
+1 −1
Original line number Diff line number Diff line
@@ -167,7 +167,7 @@

<!-- Deep shortcuts -->
    <dimen name="deep_shortcuts_elevation">9dp</dimen>
    <dimen name="bg_popup_item_width">220dp</dimen>
    <dimen name="bg_popup_item_width">260dp</dimen>
    <dimen name="bg_popup_item_height">56dp</dimen>
    <dimen name="bg_popup_item_condensed_height">48dp</dimen>
    <dimen name="pre_drag_view_scale">6dp</dimen>
+4 −4
Original line number Diff line number Diff line
@@ -182,13 +182,13 @@
    <string name="folder_name_format_overflow">Folder: <xliff:g id="name" example="Games">%1$s</xliff:g>, <xliff:g id="size" example="2">%2$d</xliff:g> or more items</string>

    <!-- Strings for the customization mode -->
    <!-- Text for widget add button -->
    <!-- Text for widget add button [CHAR LIMIT=30]-->
    <string name="widget_button_text">Widgets</string>
    <!-- Text for wallpaper change button -->
    <!-- Text for wallpaper change button [CHAR LIMIT=30]-->
    <string name="wallpaper_button_text">Wallpapers</string>
    <!-- Text for wallpaper change button -->
    <!-- Text for wallpaper change button [CHAR LIMIT=30]-->
    <string name="styles_wallpaper_button_text">Styles &amp; wallpapers</string>
    <!-- Text for settings button [CHAR LIMIT=20]-->
    <!-- Text for settings button [CHAR LIMIT=30]-->
    <string name="settings_button_text">Home settings</string>
    <!-- Message shown when a feature is disabled by the administrator -->
    <string name="msg_disabled_by_admin">Disabled by your admin</string>