summaryrefslogtreecommitdiffstats
path: root/src/com/android/contacts
diff options
context:
space:
mode:
authormasafumi miya <masafumi.x.miya@sonymobile.com>2017-10-18 22:52:11 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-18 22:52:11 +0000
commit0cf443bbdb236e99b2fc4df7b3b8904a134e35fd (patch)
tree9b524220fbccbff9ddfe93aebe0476d88024d3c3 /src/com/android/contacts
parent04e39ef2a65586a25228509aeeac829c9ff7a1b2 (diff)
parentf4a0a40bb5d9a786d2db1395346996d87ab09540 (diff)
downloadpackages_apps_Contacts-0cf443bbdb236e99b2fc4df7b3b8904a134e35fd.tar.gz
packages_apps_Contacts-0cf443bbdb236e99b2fc4df7b3b8904a134e35fd.tar.bz2
packages_apps_Contacts-0cf443bbdb236e99b2fc4df7b3b8904a134e35fd.zip
Merge "Adjust the padding of list item in the contact list"
am: f4a0a40bb5 Change-Id: Ie03dd044bb67cbd31b92deec367c796bc7515c85
Diffstat (limited to 'src/com/android/contacts')
-rw-r--r--src/com/android/contacts/list/ContactListItemView.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/contacts/list/ContactListItemView.java b/src/com/android/contacts/list/ContactListItemView.java
index 4f42a0f69..385aa7cd5 100644
--- a/src/com/android/contacts/list/ContactListItemView.java
+++ b/src/com/android/contacts/list/ContactListItemView.java
@@ -588,7 +588,8 @@ public class ContactListItemView extends ViewGroup
// 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());