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

Commit be7b9e4e authored by Longbo Wei's avatar Longbo Wei
Browse files

a11y: Fix - Correct scroll panel button vertical alignment

Problem: Scroll panel buttons (center, sides, bottom) appeared slightly
misaligned vertically.

Cause: The panel background drawable is 184dp(180+4) tall after we add a
4dp shadow path at the bottom. This shifts the visual shape boundaries
relative to the layout boundaries.

Solution: Move the 184dp height background to the parent, and change the
parent height to 184dp,therefore the background is not squeezed

Screenshot(make the button background to be white for better
visibility):
- before: http://screen/7VbaC8WYVY3D5SD
- after:  http://screen/3xw8EsehZNRCXbH

Bug: b/400964604
Test: AutoclickControllerTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: I8d66fda0c9eb67a2b0a540ab2cd36b5ddf7ffbf1
parent fbdf66be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment