summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-09-04 17:36:07 -0700
committerYorke Lee <yorkelee@google.com>2013-09-04 17:36:07 -0700
commit7e8ea191d0858f02b6b1c002f54c18ab798bd732 (patch)
treef73568b23d0f6c8eb7d98246c62d78f7f78abba5
parent6bf6d90f35f5245b844d685e58ae132e9a32bc03 (diff)
Fix spacing issues in call log icons
Recycled CallTypeIconsViews should call request layout to update their new widths Bug: 10530469 Change-Id: Ic26c387377c6ccd403229bd3d255cca28da17999
-rw-r--r--src/com/android/dialer/PhoneCallDetailsHelper.java1
1 files changed, 1 insertions, 0 deletions
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.