Allow two lines max for text view in system shortcuts.

This makes it more accessible for more languages.

Bug: 185770234
Test: set language to Spanish, ensure 2 lines
      ensure deep shortcuts remain 1 lines

Change-Id: I652fe6a51bde5d8c30f695a0a56f0879412bca01
This commit is contained in:
Jon Miranda 2021-06-29 12:53:27 -07:00
parent bf60673bbb
commit c26e5fff7c
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@
android:paddingStart="@dimen/deep_shortcuts_text_padding_start"
android:paddingEnd="@dimen/popup_padding_end"
android:textSize="14sp"
android:singleLine="true"
android:minLines="1"
android:maxLines="2"
android:ellipsize="end"
android:textColor="?android:attr/textColorPrimary"
launcher:iconDisplay="shortcut_popup"