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

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

a11y: ScrollPanel: Update panel's color to match the spec

1. Update color to match the spec.
2. Add shadow(4px down) to the scrollPanel.
3. Update the exit-button width and height from 50 to 48 to match the
   spec.

screenshot: http://screen/72duHYUqbC9xfVK

Bug: b/400964604
Test: AutoclickControllerTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: I52d42377cb500d9d62465c5a744af2244edca3d8
parent 1d1d4e0b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,6 +21,6 @@
    android:viewportHeight="24"
    android:viewportWidth="24">
    <path
        android:fillColor="@color/materialColorPrimary"
        android:fillColor="@color/materialColorOnPrimary"
        android:pathData="M13,4L13,16.17L18.6,10.57L20,12L12,20L4,12L5.4,10.57L11,16.17L11,4L13,4Z" />
</vector>
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
    android:viewportHeight="59"
    android:viewportWidth="67">
    <path
        android:fillColor="@color/materialColorSurfaceContainer"
        android:fillColor="@color/materialColorPrimary"
        android:pathData="M24.922 1.601C27.7621 2.5016 30.7853 2.9909 33.9216 2.9989C37.0579 2.9909 40.081 2.5016 42.9211 1.601C46.3143 0.525 50.0835 0.6071 53.6673 1.7369C57.6831 3.0029 60.8913 5.2153 63.2004 8.5077C67.4543 14.5732 67.8946 22.9766 65.7176 32.0509C62.1456 46.9406 49.733 58.9603 33.9216 58.9999C18.1102 58.9603 5.69753 46.9406 2.12551 32.0509C-0.0514298 22.9766 0.388834 14.5732 4.64281 8.5077C6.95185 5.2153 10.1601 3.0029 14.1759 1.7369C17.7597 0.6071 21.5288 0.525 24.922 1.601Z"
        android:pivotX="33.5"
        android:pivotY="29.5"
+1 −1
Original line number Diff line number Diff line
@@ -21,6 +21,6 @@
    android:viewportHeight="24"
    android:viewportWidth="24">
    <path
        android:fillColor="@color/materialColorPrimary"
        android:fillColor="@color/materialColorOnPrimary"
        android:pathData="M19,6.41L17.59,5 12,10.59 6.41,5 5,6.41 10.59,12 5,17.59 6.41,19 12,13.41 17.59,19 19,17.59 13.41,12z" />
</vector>
+5 −1
Original line number Diff line number Diff line
@@ -21,6 +21,10 @@
    android:viewportHeight="55"
    android:viewportWidth="55">
    <path
        android:fillColor="@color/materialColorSurfaceContainer"
        android:fillColor="@color/materialColorPrimary"
        android:pathData="M27.5,0C12.312,0 0,12.312 0,27.5C0,42.688 12.312,55 27.5,55C42.688,55 55,42.688 55,27.5C55,12.312 42.688,0 27.5,0Z" />
    <path
        android:fillAlpha="0.11"
        android:fillColor="@color/materialColorOnPrimary"
        android:pathData="M27.5,0C12.312,0 0,12.312 0,27.5C0,42.688 12.312,55 27.5,55C42.688,55 55,42.688 55,27.5C55,12.312 42.688,0 27.5,0Z" />
</vector>
+1 −1
Original line number Diff line number Diff line
@@ -21,6 +21,6 @@
    android:viewportHeight="24"
    android:viewportWidth="24">
    <path
        android:fillColor="@color/materialColorPrimary"
        android:fillColor="@color/materialColorOnPrimary"
        android:pathData="M20,11L7.83,11L13.43,5.4L12,4L4,12L12,20L13.43,18.6L7.83,13L20,13L20,11Z" />
</vector>
Loading