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

Commit b9eb0164 authored by Chun-Ku Lin's avatar Chun-Ku Lin
Browse files

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
parent d652d54d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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"