• Rouslan Solomakhin's avatar
    [Autofill] Increase tap target for text fields. · 6eba9435
    Rouslan Solomakhin authored
    Before this patch, the touch targets of the autofill card and address
    editor text fields were 45dp tall, which is smaller than necessary for
    accessibility.
    
    This patch adds a minimum height of 48dp to the text fields in the card
    and address editors, while the bottom margin is reduced from 8dp to 5dp
    to compensate for the 3dp increase in text field height.
    
    After this patch, the touch targets of the autofill card and address
    editor text fields are at least 48dp tall.
    
    Bug: 977272
    Change-Id: If356cb5cf64f7b912fbdb924dfc35ecef84eef48
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2580147Reviewed-by: default avatarDominic Battré <battre@chromium.org>
    Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#836091}
    6eba9435
dimens.xml 2.62 KB