From be56fc17edde48a319a2ed2bde0b4437e59b8ce7 Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Thu, 11 Aug 2016 15:04:15 -0700 Subject: [PATCH] Align text to view start so they layout correctly in RTL. Bug: 28011099 Change-Id: I65b7ab768c384a558f89e3bce539420454fed8a5 (cherry picked from commit 794de426da27b7d9bf4d93b0533d9e0ff16dc105) --- ...ble_accessibility_service_dialog_content.xml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/res/layout/enable_accessibility_service_dialog_content.xml b/res/layout/enable_accessibility_service_dialog_content.xml index 25c6ba222af..3ca40acf3dd 100644 --- a/res/layout/enable_accessibility_service_dialog_content.xml +++ b/res/layout/enable_accessibility_service_dialog_content.xml @@ -26,25 +26,30 @@ android:layout_height="wrap_content" android:orientation="vertical" android:paddingStart="16dip" - android:paddingEnd="16dip" > + android:paddingEnd="16dip"> - - + android:textAlignment="viewStart" + android:textAppearance="?android:attr/textAppearanceMedium"/> - + android:padding="10dip"/>