From b7219cb1d6ccccdcd472d9b4b75ccb2f4c99b356 Mon Sep 17 00:00:00 2001 From: Peter_Liang Date: Mon, 6 Sep 2021 20:02:54 +0800 Subject: [PATCH] Fixing the title of Talback was not aligned to the right under Arabic in a11y short menu. Solution: Fine-tine layout layers to prevent the title of Accessibility service from LTR or RTL issue. Bug: 158818391 Test: manual test Change-Id: I4f281e94f507cd6021402c1fe53b584ce7bdfcde --- .../accessibility_shortcut_chooser_item.xml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/core/res/res/layout/accessibility_shortcut_chooser_item.xml b/core/res/res/layout/accessibility_shortcut_chooser_item.xml index 7cca1292af68a..4d7946b2138bc 100644 --- a/core/res/res/layout/accessibility_shortcut_chooser_item.xml +++ b/core/res/res/layout/accessibility_shortcut_chooser_item.xml @@ -39,15 +39,20 @@ android:layout_height="48dp" android:scaleType="fitCenter"/> - + android:layout_weight="1"> + + +