From f70d574278d55853b294fb9624b559ab4d2567d0 Mon Sep 17 00:00:00 2001 From: Curtis Belmonte Date: Mon, 7 Jun 2021 16:10:28 -0700 Subject: [PATCH] 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 --- color-check-baseline.xml | 2 +- ..._introduction.xml => face_enroll_icon_large.xml} | 13 +++++++------ res/layout/face_enroll_education.xml | 2 +- res/layout/face_enroll_finish.xml | 2 +- res/values-night/colors.xml | 2 +- res/values/colors.xml | 2 +- 6 files changed, 12 insertions(+), 11 deletions(-) rename res/drawable/{face_enroll_introduction.xml => face_enroll_icon_large.xml} (86%) diff --git a/color-check-baseline.xml b/color-check-baseline.xml index 48a204f2cd2..b9f5009ba20 100644 --- a/color-check-baseline.xml +++ b/color-check-baseline.xml @@ -2424,7 +2424,7 @@ errorLine1=" android:fillColor="@color/face_intro_outline"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> diff --git a/res/drawable/face_enroll_introduction.xml b/res/drawable/face_enroll_icon_large.xml similarity index 86% rename from res/drawable/face_enroll_introduction.xml rename to res/drawable/face_enroll_icon_large.xml index 217b13c2ff2..578a4a9b741 100644 --- a/res/drawable/face_enroll_introduction.xml +++ b/res/drawable/face_enroll_icon_large.xml @@ -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"> \ No newline at end of file diff --git a/res/layout/face_enroll_education.xml b/res/layout/face_enroll_education.xml index 01494790c97..a8455da9507 100644 --- a/res/layout/face_enroll_education.xml +++ b/res/layout/face_enroll_education.xml @@ -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"/> diff --git a/res/layout/face_enroll_finish.xml b/res/layout/face_enroll_finish.xml index d3c04796599..30a6957e66c 100644 --- a/res/layout/face_enroll_finish.xml +++ b/res/layout/face_enroll_finish.xml @@ -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" /> diff --git a/res/values-night/colors.xml b/res/values-night/colors.xml index 3cc23c323f5..f262104eb8e 100644 --- a/res/values-night/colors.xml +++ b/res/values-night/colors.xml @@ -27,7 +27,7 @@ #AECBFA #5F6368 #202124 - ?android:attr/colorAccent + @android:color/black @color/palette_list_dark_mode_color_red diff --git a/res/values/colors.xml b/res/values/colors.xml index edef6ef257b..0b26c136b82 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -152,7 +152,7 @@ ?androidprv:attr/colorSurfaceHighlight - #ffdadce0 + #42a5f5 #4182ef