From 481b056ba5f67529e59fb48b201cc1efaf8f8ca6 Mon Sep 17 00:00:00 2001 From: danielwbhuang Date: Mon, 8 May 2023 18:22:21 +0800 Subject: [PATCH] [Fixed] The button label shows misaligned on the localized screen 1. Use HorizontalScrollView 2. Use wrap_content for the width of a button Bug: 279867893 Test: manual Change-Id: I280ddcfbe148b44e39f587f7b0d79d009250bff5 --- .../layout/keyboard_shortcuts_search_view.xml | 81 ++++++++++--------- 1 file changed, 43 insertions(+), 38 deletions(-) diff --git a/packages/SystemUI/res/layout/keyboard_shortcuts_search_view.xml b/packages/SystemUI/res/layout/keyboard_shortcuts_search_view.xml index 8a66f50d13b16..13425c9259de1 100644 --- a/packages/SystemUI/res/layout/keyboard_shortcuts_search_view.xml +++ b/packages/SystemUI/res/layout/keyboard_shortcuts_search_view.xml @@ -34,6 +34,7 @@ android:layout_height="wrap_content"> - - - -