summaryrefslogtreecommitdiffstats
path: root/res/layout/contact_tile_starred.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/contact_tile_starred.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/contact_tile_starred.xml')
-rw-r--r--res/layout/contact_tile_starred.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/res/layout/contact_tile_starred.xml b/res/layout/contact_tile_starred.xml
index 06852a6e..e3637472 100644
--- a/res/layout/contact_tile_starred.xml
+++ b/res/layout/contact_tile_starred.xml
@@ -18,6 +18,7 @@
android:background="@null"
android:paddingBottom="1dip"
android:paddingRight="1dip"
+ android:paddingEnd="1dip"
class="com.android.contacts.common.list.ContactTileStarredView" >
<RelativeLayout
@@ -38,8 +39,10 @@
android:background="@color/contact_tile_shadow_box_color"
android:layout_alignParentBottom="true"
android:gravity="center_vertical"
+ android:paddingLeft="8dip"
android:paddingRight="8dip"
- android:paddingLeft="8dip">
+ android:paddingStart="8dip"
+ android:paddingEnd="8dip">
<TextView
android:id="@+id/contact_tile_name"
@@ -50,7 +53,8 @@
android:singleLine="true"
android:fadingEdge="horizontal"
android:fadingEdgeLength="3dip"
- android:ellipsize="marquee" />
+ android:ellipsize="marquee"
+ android:textAlignment="viewStart" />
<TextView
android:id="@+id/contact_tile_status"