diff options
author | masafumi miya <masafumi.x.miya@sonymobile.com> | 2017-10-18 22:52:11 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-10-18 22:52:11 +0000 |
commit | 0cf443bbdb236e99b2fc4df7b3b8904a134e35fd (patch) | |
tree | 9b524220fbccbff9ddfe93aebe0476d88024d3c3 /src/com/android/contacts | |
parent | 04e39ef2a65586a25228509aeeac829c9ff7a1b2 (diff) | |
parent | f4a0a40bb5d9a786d2db1395346996d87ab09540 (diff) | |
download | packages_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.java | 3 |
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()); |