From b3ebad4e1c8a510a04a512c687c02a712c0bad5f Mon Sep 17 00:00:00 2001 From: Bonian Chen Date: Fri, 14 Jan 2022 12:42:54 +0000 Subject: [PATCH] [Settings] Rollback the text break hyphen strategy Text in usage side label was set to normal when making a design. However, the default configuration got changed since Android Q which applied to all TextView. Therefore, add it back to maintain original behaviour. Bug: 185129745 Change-Id: I351f8e08cc9ba6e0d301e510ee10b6be890b0059 Test: build pass --- res/layout/usage_side_label.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/res/layout/usage_side_label.xml b/res/layout/usage_side_label.xml index 6c168806338..bfb3ab849da 100644 --- a/res/layout/usage_side_label.xml +++ b/res/layout/usage_side_label.xml @@ -17,4 +17,5 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:hyphenationFrequency="normal" android:textAppearance="?android:attr/textAppearanceSmall" />