• Peter Boström's avatar
    Fix toolbar button insets for Touch and Refresh · bbcce752
    Peter Boström authored
    This change accomplishes a couple of things:
    
    * Unifies Touchable and Refresh layout inkdrop behavior.
    * Gets 8dp inkdrop corners for Touchable
    * Removes hard-coded inkdrop sizes and insets.
    * Makes the flood-fill inkdrop work with extended edges (toolbar edges).
      This was not a problem for touchable as they removed extended edges.
    * Changes Refresh inkdrop size to 28dps instead of inkdrop-default 24dp.
    * Uses flood-fill inkdrop for Refresh.
    * Increases toolbar horizontal padding to 8dp per specs.
    
    Bug: chromium:822069, chromium:834511
    Change-Id: I458fecfb14ca2d21dcf9513756182b2bf8e9320e
    Reviewed-on: https://chromium-review.googlesource.com/1033962
    Commit-Queue: Peter Boström <pbos@chromium.org>
    Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#554884}
    bbcce752
toolbar_view.cc 30.1 KB