summaryrefslogtreecommitdiffstats
path: root/res/layout/custom_contact_list_filter_account.xml
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2013-04-03 20:59:09 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2013-04-05 14:08:24 -0700
commit9f0c1621718b382531cbebfe38907e6d3db6ceae (patch)
tree619a0de683bec4fda761cc3515f28d05d8bda435 /res/layout/custom_contact_list_filter_account.xml
parente059276ccf87f59c366521bafb9012b2395f636b (diff)
downloadandroid_packages_apps_ContactsCommon-9f0c1621718b382531cbebfe38907e6d3db6ceae.tar.gz
android_packages_apps_ContactsCommon-9f0c1621718b382531cbebfe38907e6d3db6ceae.tar.bz2
android_packages_apps_ContactsCommon-9f0c1621718b382531cbebfe38907e6d3db6ceae.zip
Fix for bug #8146846 Phone App should be mirrored for RTL languages
- add start/end aside left/right properties - make default PhotoPosition depends on Locale layout direction - add mirrored version of Drawables - use android:textAlignment="viewStart" when needed on TextView Change-Id: I0bf2fb83d94a3748d26d1825387b9b16830830a5
Diffstat (limited to 'res/layout/custom_contact_list_filter_account.xml')
-rw-r--r--res/layout/custom_contact_list_filter_account.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/res/layout/custom_contact_list_filter_account.xml b/res/layout/custom_contact_list_filter_account.xml
index 6b25fed9..b1f3f2b3 100644
--- a/res/layout/custom_contact_list_filter_account.xml
+++ b/res/layout/custom_contact_list_filter_account.xml
@@ -20,12 +20,15 @@
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical"
android:paddingLeft="?android:attr/expandableListPreferredItemPaddingLeft"
- android:paddingRight="?android:attr/scrollbarSize">
+ android:paddingRight="?android:attr/scrollbarSize"
+ android:paddingStart="?android:attr/expandableListPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/scrollbarSize">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="6dip"
+ android:layout_marginEnd="6dip"
android:layout_marginTop="6dip"
android:layout_marginBottom="6dip"
android:layout_weight="1"
@@ -46,6 +49,7 @@
android:layout_height="wrap_content"
android:layout_below="@android:id/text1"
android:layout_alignLeft="@android:id/text1"
+ android:layout_alignStart="@android:id/text1"
android:maxLines="1"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorTertiary"