From 2ee0e2960dbedd97b03c0b1598ed4cef43df6f1e Mon Sep 17 00:00:00 2001 From: George Huang Date: Thu, 19 Apr 2018 18:04:58 +0800 Subject: [PATCH] Fix RTL alignmnet of "eSIMs" in "Erase all data" page. "eSIMs" is not a RTL string, so it will align to left even we change to RTL language like Urdu. We must set the textDirection of TextView to "locale" to force it follow locale's direction. We don't use textAlignment to set string direction because it contains list bullets, and list bullets will still align to left. Change-Id: I0eea2bed9f324bb071e413673227839b830921cf Fixes: 77946796 Test: visual --- res/layout/master_clear.xml | 8 ++++---- res/values/styles.xml | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/res/layout/master_clear.xml b/res/layout/master_clear.xml index c1e224f4210..9f899613844 100644 --- a/res/layout/master_clear.xml +++ b/res/layout/master_clear.xml @@ -35,28 +35,28 @@ 24dp + +