Ensure square size of the Suggestion images.
This change ensures that the Suggestion icon's drawable area remains square. We cannot depend on vertical dimension of the embedded drawable because ColorDrawables, that (along with BitmapDrawables) are entirely handled by RoundedCornerImageView, do not have a fixed vertical size. Bug: 982818 Change-Id: Ib6966eaaaa21d85e61220c9631ae19cd269a2779 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1866921 Commit-Queue: Ender <ender@google.com> Reviewed-by:Theresa <twellington@chromium.org> Reviewed-by:
Ted Choc <tedchoc@chromium.org> Reviewed-by:
Patrick Noland <pnoland@chromium.org> Cr-Commit-Position: refs/heads/master@{#708694}
Showing
Please register or sign in to comment