Apply lineBreakWordStyle and hyphenationFrequency in EditShortcutScreen

Uses the same style as mentioned in b/217659992 and b/232992171

Note: This doesn't fix the long word issue in Thai. This is the best we
can get so far.

Bug: 335749219
Test: manual (Can still see the EditShortcutScreen with no crash)
Flag: EXEMPT resource only
Change-Id: I3c1634de4a33c7ab6a80163217ef1cc65585c584
This commit is contained in:
Chun-Ku Lin
2024-05-10 00:26:56 +00:00
parent d652d54d93
commit b9eb01643c

View File

@@ -48,6 +48,8 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="?android:attr/listPreferredItemPaddingStart"
android:hyphenationFrequency="normalFast"
android:lineBreakWordStyle="phrase"
android:textAppearance="?android:attr/textAppearanceLarge"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@android:id/checkbox"
@@ -58,6 +60,8 @@
android:id="@android:id/summary"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:hyphenationFrequency="normalFast"
android:lineBreakWordStyle="phrase"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
app:layout_constrainedHeight="true"