• Jinsuk Kim's avatar
    Android: Adjust bottom container view offset for bottom sheet · 40f419bf
    Jinsuk Kim authored
    The top shadow drawable for bottom sheet consists of 3 parts
    vertically - round-cornered view, shadow, and an empty space at the
    top. In order to remove the gap between bottom sheet and infobar (or
    any other view bottom container), the infobar needs to be lowered down
    by the height of shadow plus that of the empty space. This CL defines
    a new constant |bottom_sheet_shadow_top_offset| for the space, and
    applies it to bottom container.
    
    Bug: 1025098, 1030251
    Change-Id: Ic145e861fcc5f1639196f6b96d3bfe3208fc0581
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1948367
    Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org>
    Reviewed-by: default avatarMatthew Jones <mdjones@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#721775}
    40f419bf
dimens.xml 37.3 KB