From 7531cd7dadfcb9c7df658fb2193c42b65ea0e21f Mon Sep 17 00:00:00 2001 From: Justin Klaassen Date: Mon, 1 Jun 2015 15:20:27 -0700 Subject: Force textAlignment == viewEnd Bug: 21553173 Since the Calculator is UI is predominately LTR, the error strings should be forced to right align regardless if they contain RTL characters. However in order to use the textAlignment attribute, the supportsRtl attribute must also be set to "true" in the manifest and the Calulator's layoutDirection must be hardcoded to "ltr". Change-Id: I40396622c334e276bda9e0020dcdcfe94192a42c --- res/values/styles.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'res') diff --git a/res/values/styles.xml b/res/values/styles.xml index ed77ea9..2a074e8 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -28,6 +28,7 @@ true @null true + ltr