Control both minHeight and padding attributes for Compact suggestions.
This change fixes bug introduced in https://crrev.com/c/2079298. Android views include view paddings when computing view size (both height and width), resulting in the padding being accounted for when comparing the resulting dimensions against minimum dimension hints. As an effect, the view becomes much more compact than originally intended. Bug: 1050813 Change-Id: Icffff1a6bbd4c4608fc77f25a4ba0c9708431835 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2083921Reviewed-by:Ted Choc <tedchoc@chromium.org> Commit-Queue: Ender <ender@google.com> Cr-Commit-Position: refs/heads/master@{#746198}
Showing
Please register or sign in to comment