From 1ccbf8b7d536e555cb1856f6ba9f9b78b30e0725 Mon Sep 17 00:00:00 2001 From: Lucas Silva Date: Thu, 14 Apr 2022 10:45:22 -0400 Subject: [PATCH] Add hyphenation to customize button text. In some languages, customize may be a long word which doesn't fit in a single line and should be hyphenated. Bug: 228329886 Test: locally on device Change-Id: Ibf647fc4c18b3eb927f2b6f6ca018f2b38e6f7b1 --- res/layout/dream_preference_layout.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/res/layout/dream_preference_layout.xml b/res/layout/dream_preference_layout.xml index 894ac32acba..dc523285320 100644 --- a/res/layout/dream_preference_layout.xml +++ b/res/layout/dream_preference_layout.xml @@ -59,6 +59,7 @@ android:layout_height="wrap_content" android:visibility="gone" android:text="@string/customize_button_title" + android:hyphenationFrequency="full" app:layout_constraintTop_toTopOf="@+id/preview" app:layout_constraintBottom_toBottomOf="@+id/preview" app:layout_constraintStart_toStartOf="@+id/preview"