• Friedrich Horschig's avatar
    Move ChipView into own class · e428a4e1
    Friedrich Horschig authored
    This CL is a small step to make chips more reusable. It moves the Chips
    view as defined for the Downloads Home into a separate View located in
    ui/.
    This has very little visible effects:
      * Chip appearance is now consistent for Downloads on Kitkat and older
      * The corner radius of chips is variable (important for accessory)
      * RippleBackgroundHelper allows backgrounds with colored borders
    
    Right now, presubmits will complain about the new text style. I'm open
    for any tips where the TextAppearance should be defined.
    
    Bug: 914781
    Change-Id: I10b84d933a6e5fc98665e942f75e336bb9cc6bd1
    Reviewed-on: https://chromium-review.googlesource.com/c/1380013
    Commit-Queue: Friedrich [CET] <fhorschig@chromium.org>
    Reviewed-by: default avatarTheresa <twellington@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#619938}
    e428a4e1
styles.xml 11.5 KB