commit | 2b90d043f6785798ac1225f1e114552657d9b533 | [log] [tgz] |
---|---|---|
author | Steven Ng <stevenckng@google.com> | Wed Jul 21 17:08:27 2021 +0100 |
committer | Steven Ng <stevenckng@google.com> | Thu Jul 22 11:19:25 2021 +0100 |
tree | 0086518ada97f49e3c40308e924ee3cf7cdc93d4 | |
parent | 643060d4fa4b1832ab4e62617a2e52f91e1ba663 [diff] |
Fix scaling on widget previews that have width / height set to wrap_content If the widget preview has width / height set to wrap_content, we should set the layout param width / height to the exact dimension after measurement. Otherwise, we will end up clipping the previews. Test: manual Fix: 193144010 Change-Id: I101f7c6d3dbd264fee448b85c54029d5650d6630