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

Commit 1bd84bdd authored by Dan Sandler's avatar Dan Sandler
Browse files

Expand clip triangle to remove hairline gaps around signal triangle.

This CL also simplifies the signal level: it needed to be
expanded to ensure it entirely covers the clip, so now it's
just a big rectangle from (0,0) --> (X, 24) for an
appropriate value of X.

Fixes: 339440394
Test: atest -c SystemIconsScreenshotTest
Test: presubmits
Flag: n/a
Change-Id: Ie59282fafda7ca4ecb101e26bba1aabb6517a6d1
parent a5b030c7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -22,11 +22,11 @@
    <path
        android:fillColor="@android:color/white"
        android:pathData="M20,7v13H7L20,7 M22,2L2,22h20V2L22,2z" />
    <clip-path android:name="triangle" android:pathData="M20,7v13H7L20,7z">
    <clip-path android:name="triangle" android:pathData="M21,5 V21 H5 z">
        <!-- 1 bar. move to higher ground. -->
        <path
            android:name="ic_signal_cellular_1_4_bar"
            android:fillColor="@android:color/white"
            android:pathData="M6,0 H11 V20 H6 z" />
            android:pathData="M0,0 H11 V24 H0 z" />
    </clip-path>
</vector>
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -22,11 +22,11 @@
    <path
        android:fillColor="@android:color/white"
        android:pathData="M20,7V20H7L20,7m2-5L2,22H22V2Z" />
    <clip-path android:name="triangle" android:pathData="M20,7v13H7L20,7z">
    <clip-path android:name="triangle" android:pathData="M21,5 V21 H5 z">
        <!-- 1 bar. might have to call you back. -->
        <path
            android:name="ic_signal_cellular_1_5_bar"
            android:fillColor="@android:color/white"
            android:pathData="M6,0 H12 V20 H6 z" />
            android:pathData="M0,0 H12 V24 H0 z" />
    </clip-path>
</vector>
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -22,11 +22,11 @@
    <path
        android:fillColor="@android:color/white"
        android:pathData="M20,7v13H7L20,7 M22,2L2,22h20V2L22,2z" />
    <clip-path android:name="triangle" android:pathData="M20,7v13H7L20,7z">
    <clip-path android:name="triangle" android:pathData="M21,5 V21 H5 z">
        <!-- 2 bars. 2 out of 4 ain't bad. -->
        <path
            android:name="ic_signal_cellular_2_4_bar"
            android:fillColor="@android:color/white"
            android:pathData="M6,0 H14 V20 H6 z" />
            android:pathData="M0,0 H14 V24 H0 z" />
    </clip-path>
</vector>
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -23,11 +23,11 @@
    <path
        android:fillColor="@android:color/white"
        android:pathData="M20,7V20H7L20,7m2-5L2,22H22V2Z" />
    <clip-path android:name="triangle" android:pathData="M20,7v13H7L20,7z">
    <clip-path android:name="triangle" android:pathData="M21,5 V21 H5 z">
        <!-- 2 bars. hanging in there. -->
        <path
            android:name="ic_signal_cellular_2_5_bar"
            android:fillColor="@android:color/white"
            android:pathData="M6,0 H14 V20 H6 z" />
            android:pathData="M0,0 H14 V24 H0 z" />
    </clip-path>
</vector>
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -22,11 +22,11 @@
    <path
        android:fillColor="@android:color/white"
        android:pathData="M20,7v13H7L20,7 M22,2L2,22h20V2L22,2z" />
    <clip-path android:name="triangle" android:pathData="M20,7v13H7L20,7z">
    <clip-path android:name="triangle" android:pathData="M21,5 V21 H5 z">
        <!-- 3 bars. quite nice. -->
        <path
            android:name="ic_signal_cellular_3_4_bar"
            android:fillColor="@android:color/white"
            android:pathData="M6,0 H17 V20 H6 z" />
            android:pathData="M0,0 H17 V24 H0 z" />
    </clip-path>
</vector>
 No newline at end of file
Loading