From 7e8ea191d0858f02b6b1c002f54c18ab798bd732 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Wed, 4 Sep 2013 17:36:07 -0700 Subject: Fix spacing issues in call log icons Recycled CallTypeIconsViews should call request layout to update their new widths Bug: 10530469 Change-Id: Ic26c387377c6ccd403229bd3d255cca28da17999 --- src/com/android/dialer/PhoneCallDetailsHelper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/dialer/PhoneCallDetailsHelper.java b/src/com/android/dialer/PhoneCallDetailsHelper.java index b51a27bce..be9cb660f 100644 --- a/src/com/android/dialer/PhoneCallDetailsHelper.java +++ b/src/com/android/dialer/PhoneCallDetailsHelper.java @@ -72,6 +72,7 @@ public class PhoneCallDetailsHelper { for (int index = 0; index < count && index < MAX_CALL_TYPE_ICONS; ++index) { views.callTypeIcons.add(details.callTypes[index]); } + views.callTypeIcons.requestLayout(); views.callTypeIcons.setVisibility(View.VISIBLE); // Show the total call count only if there are more than the maximum number of icons. -- cgit v1.2.3