Merge "Adjust the padding of list item in the contact list" am: f4a0a40bb5 am: 0cf443bbdb
am: be6183bc34
Change-Id: I026b2585d746eb73a30df133498d4e1d4062c2d9
diff --git a/src/com/android/contacts/list/ContactListItemView.java b/src/com/android/contacts/list/ContactListItemView.java
index 4f42a0f..385aa7c 100644
--- a/src/com/android/contacts/list/ContactListItemView.java
+++ b/src/com/android/contacts/list/ContactListItemView.java
@@ -588,7 +588,8 @@
// Calculate height including padding.
int height = (mNameTextViewHeight + mPhoneticNameTextViewHeight +
mLabelAndDataViewMaxHeight +
- mSnippetTextViewHeight + mStatusTextViewHeight);
+ mSnippetTextViewHeight + mStatusTextViewHeight
+ + getPaddingBottom() + getPaddingTop());
// Make sure the height is at least as high as the photo
height = Math.max(height, mPhotoViewHeight + getPaddingBottom() + getPaddingTop());