From 4cf13de04d133c1c70a44358f1935aac1e071a32 Mon Sep 17 00:00:00 2001 From: Curtis Belmonte Date: Thu, 1 Jul 2021 10:38:25 -0700 Subject: [PATCH] Adjust UI of face and fingerprint enroll intro pages Changes the appearance and spacing of the face and fingerprint unlock intro/consent pages to be consistent with one another and more closely match the latest mocks. Test: Manually tested face and fingerprint enrollment Fixes: 192475206 Change-Id: I4d41ddc15dc1a6be818762a286f06470344cf819 --- res/layout/face_enroll_introduction.xml | 53 +++++------------ .../fingerprint_enroll_introduction.xml | 57 ++++++------------- res/values/styles.xml | 14 +++++ 3 files changed, 45 insertions(+), 79 deletions(-) diff --git a/res/layout/face_enroll_introduction.xml b/res/layout/face_enroll_introduction.xml index 2887bcac277..c9c4d23f578 100644 --- a/res/layout/face_enroll_introduction.xml +++ b/res/layout/face_enroll_introduction.xml @@ -43,9 +43,7 @@ + android:layout_height="wrap_content"> + style="@style/BiometricEnrollIntroTitle" + android:text="@string/security_settings_face_enroll_introduction_info_title" /> + android:orientation="horizontal"> + style="@style/BiometricEnrollIntroMessage" /> + android:orientation="horizontal"> + style="@style/BiometricEnrollIntroMessage" /> - - - - + style="@style/BiometricEnrollIntroTitle" + android:text="@string/security_settings_face_enroll_introduction_how_title" /> - - + style="@style/BiometricEnrollIntroMessage" /> - - + style="@style/BiometricEnrollIntroTitle" /> + style="@style/BiometricEnrollIntroMessage" + android:paddingBottom="0dp" /> diff --git a/res/layout/fingerprint_enroll_introduction.xml b/res/layout/fingerprint_enroll_introduction.xml index 5f828799269..d4914e64bbb 100644 --- a/res/layout/fingerprint_enroll_introduction.xml +++ b/res/layout/fingerprint_enroll_introduction.xml @@ -42,8 +42,7 @@ + android:layout_height="wrap_content"> + style="@style/BiometricEnrollIntroTitle" + android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_title_2" /> + android:orientation="horizontal"> + style="@style/BiometricEnrollIntroMessage" /> + android:orientation="horizontal"> + style="@style/BiometricEnrollIntroMessage" /> - - + style="@style/BiometricEnrollIntroTitle" /> + android:orientation="horizontal"> + style="@style/BiometricEnrollIntroMessage" /> - - + style="@style/BiometricEnrollIntroTitle" + android:text="@string/security_settings_face_enroll_introduction_info_title"/> + android:orientation="horizontal"> + style="@style/BiometricEnrollIntroMessage" /> + android:orientation="horizontal"> + style="@style/BiometricEnrollIntroMessage" + android:paddingBottom="0dp" + android:text="@string/security_settings_fingerprint_v2_enroll_introduction_message_learn_more" /> diff --git a/res/values/styles.xml b/res/values/styles.xml index 63ea86ebe3b..979632e57db 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -397,6 +397,20 @@ 1.2 + + + +