Fix BottomSheet toolbar shadow height to match 9-patch.
Since http://crrev/c/1743432, the BottomSheet background has rounded corners with a shadow. The shadow has now a height of 16dp (vs 8dp before that CL). This CL introduces a new dimension to store the new height of the shadow. This height is used to compute full/peek ratios of the bottom sheet that are now computed correctly. Before: * https://screenshot.googleplex.com/YZ67ok7O9br.png * https://screenshot.googleplex.com/SOVPh2N9GaA.png After: * https://screenshot.googleplex.com/8HjjkL2Gt62.png * https://screenshot.googleplex.com/C0LTHSnBF1f.png Bug: 985644 Change-Id: Iafbf4cda004bd03a7931a3ef7045bed9d5a05a7f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1776040Reviewed-by:Matthew Jones <mdjones@chromium.org> Reviewed-by:
Jinsuk Kim <jinsukkim@chromium.org> Commit-Queue: Jordan Demeulenaere <jdemeulenaere@chromium.org> Cr-Commit-Position: refs/heads/master@{#691974}
Showing
Please register or sign in to comment