mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
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
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 & 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>
|
||||
|
||||
Reference in New Issue
Block a user