diff options
| author | 2023-02-28 01:32:46 +0000 | |
|---|---|---|
| committer | 2023-02-28 01:32:46 +0000 | |
| commit | 3f89c4ac974ddfcc05fdb007b48bb7d2e5d1600b (patch) | |
| tree | 41bf4514ef9558684ddac043b87a92fd1d9a9e8d /api/api.go | |
| parent | 2b9ee44d5548cec2fcceff92e80d5aa10a34b130 (diff) | |
Use ImageButtons instead of Buttons in handle menu
Using <Button> + android:background to set the icon drawable
results in the android:padding attribute having no effect. That
meant that the touch target for handle menu windowing buttons
was effectively 32dp (its width/height).
By using an ImageButton + android:src, padding actually does take
effect, so the touch target is now 40dp (its width/height) and
the icon remains the same size (32dp) due to the 4dp padding.
Bug: 270412904
Test: manual - caption windowing buttons are same size, but click
target is slightly bigger
Change-Id: Ia1e77533fb65630e9eaf6108dce7cf5240c176f7
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions