diff options
author | Brian Attwell <brianattwell@google.com> | 2014-10-02 12:35:07 -0700 |
---|---|---|
committer | Brian Attwell <brianattwell@google.com> | 2014-10-02 15:35:52 -0700 |
commit | c62cc7931593b4137f8a507689b653e1e15e1260 (patch) | |
tree | 317c22f73f1c4a8261f7a34d6e88c22b355f9310 /res | |
parent | f9271f67ecfd0334694c30a1f226b7dff117596e (diff) | |
download | android_packages_apps_Contacts-c62cc7931593b4137f8a507689b653e1e15e1260.tar.gz android_packages_apps_Contacts-c62cc7931593b4137f8a507689b653e1e15e1260.tar.bz2 android_packages_apps_Contacts-c62cc7931593b4137f8a507689b653e1e15e1260.zip |
Display phone numbers as LTR
Also, force some TextView to align with viewStart. Otherwise, when using
a LTR locale some TextViews will have different alignment depending on their
contents. This looks bad.
Bug: 17761636
Change-Id: If40dafc73ae5f4f3c99d985304d426ad59722140
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/expanding_entry_card_item.xml | 3 | ||||
-rw-r--r-- | res/layout/quickcontact_title.xml | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/res/layout/expanding_entry_card_item.xml b/res/layout/expanding_entry_card_item.xml index 567c02caa..20e90ebf9 100644 --- a/res/layout/expanding_entry_card_item.xml +++ b/res/layout/expanding_entry_card_item.xml @@ -44,6 +44,7 @@ android:layout_toEndOf="@+id/icon" android:layout_toStartOf="@+id/icon_alternate" android:textColor="@color/quickcontact_entry_header_text_color" + android:textAlignment="viewStart" android:layout_marginBottom="@dimen/expanding_entry_card_header_margin_bottom" /> <TextView @@ -53,6 +54,7 @@ android:layout_below="@+id/header" android:layout_toEndOf="@+id/icon_sub_header" android:layout_toStartOf="@+id/icon_alternate" + android:textAlignment="viewStart" android:textColor="@color/quickcontact_entry_sub_header_text_color" /> <ImageView @@ -71,6 +73,7 @@ android:layout_below="@+id/sub_header" android:layout_toEndOf="@+id/icon_text" android:layout_toStartOf="@+id/icon_alternate" + android:textAlignment="viewStart" android:textColor="@color/quickcontact_entry_sub_header_text_color" /> <ImageView diff --git a/res/layout/quickcontact_title.xml b/res/layout/quickcontact_title.xml index 8bf48e308..3f4886df5 100644 --- a/res/layout/quickcontact_title.xml +++ b/res/layout/quickcontact_title.xml @@ -28,6 +28,7 @@ android:textColor="@color/actionbar_text_color" android:maxLines="@integer/quickcontact_title_lines" android:textSize="@dimen/quickcontact_maximum_title_size" + android:textAlignment="viewStart" android:ellipsize="end" android:importantForAccessibility="no" android:id="@+id/large_title"/>
\ No newline at end of file |