summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2012-10-17 17:50:05 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2012-10-17 17:50:05 -0700
commit9051e3cd78df42b9f9d579e24133923229c67e7a (patch)
treea31d1a84c358f8dd979505fbbe355f70991b66ce /res/layout
parent8e3f8d3af576648cc73181d3ba2a89c107dffc75 (diff)
downloadpackages_apps_settings-9051e3cd78df42b9f9d579e24133923229c67e7a.zip
packages_apps_settings-9051e3cd78df42b9f9d579e24133923229c67e7a.tar.gz
packages_apps_settings-9051e3cd78df42b9f9d579e24133923229c67e7a.tar.bz2
Fix bug #7356946 The Data Usage app details contain titles that are not RTL align. ( Hebrew Only )
- use "viewStart" as text alignment Change-Id: Iaff5eec130fcb57e8352f16f87faaf3bd980e994
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/data_usage_app_title.xml3
-rw-r--r--res/layout/data_usage_detail.xml17
2 files changed, 14 insertions, 6 deletions
diff --git a/res/layout/data_usage_app_title.xml b/res/layout/data_usage_app_title.xml
index baaa685..272d8f2 100644
--- a/res/layout/data_usage_app_title.xml
+++ b/res/layout/data_usage_app_title.xml
@@ -19,4 +19,5 @@
android:layout_height="wrap_content"
android:singleLine="true"
android:ellipsize="marquee"
- android:textAppearance="?android:attr/textAppearanceMedium" />
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:textAlignment="viewStart" />
diff --git a/res/layout/data_usage_detail.xml b/res/layout/data_usage_detail.xml
index eaac49c..6826764 100644
--- a/res/layout/data_usage_detail.xml
+++ b/res/layout/data_usage_detail.xml
@@ -48,29 +48,36 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dip"
- android:orientation="vertical" />
+ android:orientation="vertical"
+ android:textAlignment="viewStart" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dip"
android:textColor="#d88d3a"
- android:text="@string/data_usage_label_foreground" />
+ android:text="@string/data_usage_label_foreground"
+ android:textAlignment="viewStart" />
+
<TextView
android:id="@+id/app_foreground"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:textColor="#d88d3a" />
+ android:textColor="#d88d3a"
+ android:textAlignment="viewStart" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dip"
- android:text="@string/data_usage_label_background" />
+ android:text="@string/data_usage_label_background"
+ android:textAlignment="viewStart" />
+
<TextView
android:id="@+id/app_background"
android:layout_width="match_parent"
- android:layout_height="wrap_content" />
+ android:layout_height="wrap_content"
+ android:textAlignment="viewStart" />
</LinearLayout>