From c96f8c009a60127d7ea954e1431bf5862befc4bf Mon Sep 17 00:00:00 2001 From: tom hsu Date: Thu, 28 Apr 2022 23:50:52 +0800 Subject: [PATCH] Add function of text hyphenate to buttons. Bug: 229021948 Test: local, see b/229021948#2 Change-Id: I0771c6fc49ea965eede169616530c576a1b9d84a --- .../res/layout-v31/settingslib_action_buttons.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/SettingsLib/ActionButtonsPreference/res/layout-v31/settingslib_action_buttons.xml b/packages/SettingsLib/ActionButtonsPreference/res/layout-v31/settingslib_action_buttons.xml index 7c3f5a566bdbd..a596a9a59ee82 100644 --- a/packages/SettingsLib/ActionButtonsPreference/res/layout-v31/settingslib_action_buttons.xml +++ b/packages/SettingsLib/ActionButtonsPreference/res/layout-v31/settingslib_action_buttons.xml @@ -28,7 +28,8 @@ style="@style/SettingsLibActionButton" android:layout_width="0dp" android:layout_height="match_parent" - android:layout_weight="1"/> + android:layout_weight="1" + android:hyphenationFrequency="normalFast"/> + android:layout_weight="1" + android:hyphenationFrequency="normalFast"/> + android:layout_weight="1" + android:hyphenationFrequency="normalFast"/> + android:layout_weight="1" + android:hyphenationFrequency="normalFast"/>