From da5e714ca14d9df231c0b1dc81c8370ecd94be96 Mon Sep 17 00:00:00 2001 From: Schneider Victor-tulias Date: Thu, 17 Dec 2020 11:25:44 -0500 Subject: [PATCH] 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 --- res/layout/system_shortcut.xml | 2 +- res/values/dimens.xml | 2 +- res/values/strings.xml | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/res/layout/system_shortcut.xml b/res/layout/system_shortcut.xml index 881df1bb80..c620e2af57 100644 --- a/res/layout/system_shortcut.xml +++ b/res/layout/system_shortcut.xml @@ -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" diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 7df3f774e5..cf51f77707 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -167,7 +167,7 @@ 9dp - 220dp + 260dp 56dp 48dp 6dp diff --git a/res/values/strings.xml b/res/values/strings.xml index 6c58c0eff5..3425f919c5 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -182,13 +182,13 @@ Folder: %1$s, %2$d or more items - + Widgets - + Wallpapers - + Styles & wallpapers - + Home settings Disabled by your admin