summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaiyiz <kaiyiz@codeaurora.org>2014-03-17 18:30:29 +0800
committerRoman Birg <roman@cyngn.com>2014-09-02 11:53:43 -0700
commitc018d1fda017b2ea59797d2201ad6945ad42d25b (patch)
tree7f7f2911ff22dc493e4f178695d57bebc2cd58a7
parent1ebc2a8e0146f528df296d2cc976a21a4410112f (diff)
downloadpackages_apps_Contacts-c018d1fda017b2ea59797d2201ad6945ad42d25b.tar.gz
packages_apps_Contacts-c018d1fda017b2ea59797d2201ad6945ad42d25b.tar.bz2
packages_apps_Contacts-c018d1fda017b2ea59797d2201ad6945ad42d25b.zip
Contacts: Fix contacts photo display smaller in delete contacts list
The contacts photo cropped from a new photo or the photo from gallery is smaller than the default contacts photo. Referring to contacts list view, we fix the photo size in delete list view to remain contacts photos in the same size. CRs-Fixed: 630290 Change-Id: I1f960594dd6f1d9abc897877c816af7439bb81c7
-rw-r--r--res/layout/pick_contact_item.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/layout/pick_contact_item.xml b/res/layout/pick_contact_item.xml
index e88378a7b..2e2e54086 100644
--- a/res/layout/pick_contact_item.xml
+++ b/res/layout/pick_contact_item.xml
@@ -35,8 +35,8 @@
android:paddingTop="3dip"
android:paddingBottom="3dip"
>
- <ImageView android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ <ImageView android:layout_width="@dimen/contact_browser_list_item_photo_size"
+ android:layout_height="@dimen/contact_browser_list_item_photo_size"
android:layout_marginLeft="10dip"
android:layout_marginRight="5dip"
android:layout_marginTop="5dip"