commit | f9c55d8da5ed5493b2af3b1dc4eb68cea32d35e3 | [log] [tgz] |
---|---|---|
author | Andrew Lee <anwlee@google.com> | Mon Apr 28 21:21:07 2014 +0000 |
committer | Andrew Lee <anwlee@google.com> | Mon Apr 28 18:38:12 2014 -0700 |
tree | 760efb46b9adac5f58f21e5bbf8f51ce9a6ec1d1 | |
parent | cdd9e18c392133a76c68c573b467db16ac57601c [diff] | |
parent | 020ba62cc13611cd9af1ca51c5d68c77eb5bb424 [diff] |
Merge "Moves section header in contacts list to the left side." Change-Id: I59a2050e67cc0290df5fb28f7e5b8dcb844d2cf8
diff --git a/src/com/android/contacts/common/list/ContactListItemView.java b/src/com/android/contacts/common/list/ContactListItemView.java index 07e1479..8ae26fd 100644 --- a/src/com/android/contacts/common/list/ContactListItemView.java +++ b/src/com/android/contacts/common/list/ContactListItemView.java
@@ -134,10 +134,10 @@ final int layoutDirection = TextUtils.getLayoutDirectionFromLocale(locale); switch (layoutDirection) { case View.LAYOUT_DIRECTION_RTL: - return (opposite ? PhotoPosition.RIGHT : PhotoPosition.LEFT); + return (opposite ? PhotoPosition.LEFT : PhotoPosition.RIGHT); case View.LAYOUT_DIRECTION_LTR: default: - return (opposite ? PhotoPosition.LEFT : PhotoPosition.RIGHT); + return (opposite ? PhotoPosition.RIGHT : PhotoPosition.LEFT); } }
diff --git a/src/com/android/contacts/common/util/ViewUtil.java b/src/com/android/contacts/common/util/ViewUtil.java index e18c45c..1dfe427 100644 --- a/src/com/android/contacts/common/util/ViewUtil.java +++ b/src/com/android/contacts/common/util/ViewUtil.java
@@ -73,7 +73,6 @@ } outline.setRoundRect(0, 0, right - left, bottom - top, minDimension / 2); v.setOutline(outline); - v.setClipToOutline(true); } }); view.setTranslationZ(