Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e537a87 authored by Miranda Kephart's avatar Miranda Kephart
Browse files

Use sp for screenshot button icon size

The icons behave more like text, and can be mixed with text, so
use sp to align the button sizes regardless of whether or not each
button has text.

Bug: 191147490
Fix: 191147490
Test: manual, visual verification (on e.g. Settings to get the
Capture More button)

Change-Id: I813fd5761dc8b3c42f150a61555514c22e33dacc
parent 894c5d3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -347,7 +347,7 @@
    <!-- Padding to make tappable chip height 48dp (18+11+11+4+4) -->
    <dimen name="screenshot_action_chip_margin_vertical">4dp</dimen>
    <dimen name="screenshot_action_chip_padding_vertical">11dp</dimen>
    <dimen name="screenshot_action_chip_icon_size">18dp</dimen>
    <dimen name="screenshot_action_chip_icon_size">18sp</dimen>
    <!-- Padding on each side of the icon for icon-only chips -->
    <dimen name="screenshot_action_chip_icon_only_padding_horizontal">14dp</dimen>
    <!-- Padding at the edges of the chip for icon-and-text chips -->