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

Commit 814354ef authored by Dan Sandler's avatar Dan Sandler
Browse files

Evenly space the different levels of RSSI wedges.

This should make 1-bar a lot easier to spot vs. 0-bar,
particularly when the max is 5 bars.

Fixes: 339440394
Test: presubmits
Change-Id: Ie19df1549a112958d70785e066b984f34d02ab9c
parent c14c34a0
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -22,7 +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">
        <!-- 1 bar. move to higher ground. -->
        <path
            android:name="ic_signal_cellular_1_4_bar"
            android:fillColor="@android:color/white"
        android:pathData="M 11 13 L 2 22 L 11 22 Z" />
            android:pathData="M6,0 H11 V20 H6 z" />
    </clip-path>
</vector>
 No newline at end of file
+7 −3
Original line number Diff line number Diff line
@@ -22,7 +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">
        <!-- 1 bar. might have to call you back. -->
        <path
            android:name="ic_signal_cellular_1_5_bar"
            android:fillColor="@android:color/white"
        android:pathData="M8.72,15.28,2,22H8.72V15.28Z" />
            android:pathData="M6,0 H12 V20 H6 z" />
    </clip-path>
</vector>
 No newline at end of file
+7 −3
Original line number Diff line number Diff line
@@ -22,7 +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">
        <!-- 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="M 13 11 L 2 22 L 13 22 Z" />
            android:pathData="M6,0 H14 V20 H6 z" />
    </clip-path>
</vector>
 No newline at end of file
+7 −3
Original line number Diff line number Diff line
@@ -23,7 +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">
        <!-- 2 bars. hanging in there. -->
        <path
            android:name="ic_signal_cellular_2_5_bar"
            android:fillColor="@android:color/white"
        android:pathData="M 11.45 12.55 L 2 22 L 11.45 22 L 11.45 12.55 Z" />
            android:pathData="M6,0 H14 V20 H6 z" />
    </clip-path>
</vector>
 No newline at end of file
+7 −3
Original line number Diff line number Diff line
@@ -22,7 +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">
        <!-- 3 bars. quite nice. -->
        <path
            android:name="ic_signal_cellular_3_4_bar"
            android:fillColor="@android:color/white"
        android:pathData="M 2 22 L 16 22 L 16 21 L 16 20 L 16 11 L 16 10 L 16 8 Z" />
            android:pathData="M6,0 H17 V20 H6 z" />
    </clip-path>
</vector>
 No newline at end of file
Loading