summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorJustin Klaassen <justinklaassen@google.com>2015-06-01 15:20:27 -0700
committerJustin Klaassen <justinklaassen@google.com>2015-06-02 17:33:30 +0000
commit7531cd7dadfcb9c7df658fb2193c42b65ea0e21f (patch)
treef0c814d93f505ac49100ca92b616b1f7885260a9 /AndroidManifest.xml
parent644241eafe7b175de92745f9369d71f5424f9684 (diff)
downloadandroid_packages_apps_ExactCalculator-7531cd7dadfcb9c7df658fb2193c42b65ea0e21f.tar.gz
android_packages_apps_ExactCalculator-7531cd7dadfcb9c7df658fb2193c42b65ea0e21f.tar.bz2
android_packages_apps_ExactCalculator-7531cd7dadfcb9c7df658fb2193c42b65ea0e21f.zip
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
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 4f90e22..b01e2c8 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -22,7 +22,8 @@
<application
android:allowBackup="false"
android:icon="@mipmap/ic_launcher_calculator"
- android:label="@string/app_name">
+ android:label="@string/app_name"
+ android:supportsRtl="true">
<activity
android:name=".Calculator"