commit | 877176175715dc91a3530005de42805e50aeef68 | [log] [tgz] |
---|---|---|
author | Gus Prevas <kprevas@google.com> | Mon Dec 17 14:00:12 2018 -0500 |
committer | Gus Prevas <kprevas@google.com> | Mon Dec 17 14:00:12 2018 -0500 |
tree | 6cf18a18076cfe6ae875b71278c667e0decc27a3 | |
parent | 101fe17781c4b101552688f53836ffb56fba10e4 [diff] |
Fixes layout of icons in notification header. This change resolves a discrepancy between onMeasure() and onLayout() in NotificationHeaderView. Icons were measured with their defined margins in order to figure out how much to truncate the header text, but during layout potentially multiple icons used the container's end padding as their end margin (and their start margin was ignored). Change-Id: I513efe2723fc78dd81bbe07aa40a3ed5fd1182d1 Fixes: 120893622 Test: manual