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

Commit f70d5742 authored by Curtis Belmonte's avatar Curtis Belmonte
Browse files

Fix color and asset name for large face enroll icon

Don't use extracted color for the large face enroll icon asset shown
on the education and confirmation screens. Also update the name of this
asset to be more accurate and less confusing.

Test: Manual

Bug: 187845699
Change-Id: I1ac1d523f79757caa8aaac6b04b059c2c40fc0de
parent 466be8d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2424,7 +2424,7 @@
        errorLine1="        android:fillColor="@color/face_intro_outline""
        errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="res/drawable/face_enroll_introduction.xml"
            file="res/drawable/face_enroll_icon_large.xml"
            line="25"
            column="9"/>
    </issue>
+7 −6
Original line number Diff line number Diff line
@@ -19,26 +19,27 @@
    android:width="300dp"
    android:height="300dp"
    android:viewportWidth="300"
    android:viewportHeight="300">
    android:viewportHeight="300"
    android:tint="@color/face_enroll_icon_color">

    <path
        android:fillColor="@color/face_intro_outline"
        android:fillColor="#FF000000"
        android:fillType="evenOdd"
        android:pathData="M150,0C67.16,0,0,67.16,0,150s67.16,150,150,150 s150-67.16,150-150S232.84,0,150,0 M150,4c39,0,75.66,15.19,103.24,42.76C280.81,74.34,296,111,296,150s-15.19,75.66-42.76,103.24 C225.66,280.81,189,296,150,296s-75.66-15.19-103.24-42.76C19.19,225.66,4,189,4,150S19.19,74.34,46.76,46.76 C74.34,19.19,111,4,150,4" />
    <path
        android:fillColor="?android:attr/colorAccent"
        android:fillColor="#FF000000"
        android:fillType="evenOdd"
        android:pathData="M220,120c0,5.52-4.48,10-10,10s-10-4.48-10-10 s4.48-10,10-10S220,114.48,220,120" />
    <path
        android:fillColor="?android:attr/colorAccent"
        android:fillColor="#FF000000"
        android:fillType="evenOdd"
        android:pathData="M90,130c-5.52,0-10-4.48-10-10s4.48-10,10-10 s10,4.48,10,10S95.52,130,90,130" />
    <path
        android:fillColor="?android:attr/colorAccent"
        android:fillColor="#FF000000"
        android:fillType="evenOdd"
        android:pathData="M164.2,215.88c-3.83,3.25-8.79,5.22-14.2,5.22 c-12.13,0-22-9.87-22-22c0-0.03,0-0.06,0-0.09l-8-0.03c0,0.04,0,0.08,0,0.13c0,6.24,1.9,12.03,5.16,16.83 c5.4,7.95,14.51,13.17,24.84,13.17c1.04,0,2.06-0.05,3.08-0.15c6.18-0.63,11.81-3.14,16.3-6.95L164.2,215.88z" />
    <path
        android:fillColor="?android:attr/colorAccent"
        android:fillColor="#FF000000"
        android:fillType="evenOdd"
        android:pathData="M 153 140 L 153 166 L 137 166 L 137 174 L 161 174 L 161 140 Z" />
</vector>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:visibility="invisible"
                android:background="@drawable/face_enroll_introduction"/>
                android:background="@drawable/face_enroll_icon_large"/>

        </FrameLayout>

+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:contentDescription="@null"
                    android:src="@drawable/face_enroll_introduction" />
                    android:src="@drawable/face_enroll_icon_large" />

            </com.google.android.setupdesign.view.FillContentLayout>

+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@
    <color name="notification_importance_button_selected">#AECBFA</color> <!-- material blue 200 -->
    <color name="notification_importance_button_unselected">#5F6368</color>
    <color name="notification_history_background">#202124</color>
    <color name="face_intro_outline">?android:attr/colorAccent</color>

    <!-- Palette list preference colors. -->
    <color name="palette_list_gradient_background">@android:color/black</color>
    <color name="palette_list_color_red">@color/palette_list_dark_mode_color_red</color>
Loading