From 8268a1f79e45f8819626f4086ed980f065c6b103 Mon Sep 17 00:00:00 2001 From: Kevin Chyn Date: Wed, 8 Dec 2021 16:11:01 +0000 Subject: [PATCH] Revert "Update work challenge to align with material next" This reverts commit 352a3997e148a7e0468e4787c469fd0ca7e27789. Reason for revert: b/209711453 Change-Id: I27469bb0d74c0226eb4cee48b7b787fef74a54b3 --- .../layout/auth_credential_password_view.xml | 109 +++++++-------- .../layout/auth_credential_pattern_view.xml | 127 +++++++++--------- packages/SystemUI/res/values/styles.xml | 42 +++--- 3 files changed, 127 insertions(+), 151 deletions(-) diff --git a/packages/SystemUI/res/layout/auth_credential_password_view.xml b/packages/SystemUI/res/layout/auth_credential_password_view.xml index 46cbc253175e0..1e0ce0026d8ee 100644 --- a/packages/SystemUI/res/layout/auth_credential_password_view.xml +++ b/packages/SystemUI/res/layout/auth_credential_password_view.xml @@ -18,71 +18,64 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:elevation="@dimen/biometric_dialog_elevation" - android:orientation="vertical"> + android:orientation="vertical" + android:gravity="center_horizontal" + android:elevation="@dimen/biometric_dialog_elevation"> - + + + + + android:layout_height="wrap_content" + style="@style/TextAppearance.AuthCredential.Title"/> - + - + - + - + - + - - - - - - - - - - - + \ No newline at end of file diff --git a/packages/SystemUI/res/layout/auth_credential_pattern_view.xml b/packages/SystemUI/res/layout/auth_credential_pattern_view.xml index 470298ea0b13d..4939ea2c99ee3 100644 --- a/packages/SystemUI/res/layout/auth_credential_pattern_view.xml +++ b/packages/SystemUI/res/layout/auth_credential_pattern_view.xml @@ -22,81 +22,76 @@ android:gravity="center_horizontal" android:elevation="@dimen/biometric_dialog_elevation"> - + + + + + android:layout_height="wrap_content" + style="@style/TextAppearance.AuthCredential.Title"/> - + - + - + - + - - + - - - - - - - - - - - - - + android:layout_height="match_parent" + android:layout_gravity="center" + style="@style/LockPatternStyleBiometricPrompt"/> - + - + + + + + \ No newline at end of file diff --git a/packages/SystemUI/res/values/styles.xml b/packages/SystemUI/res/values/styles.xml index c7cf4008d395b..61591bd0a450f 100644 --- a/packages/SystemUI/res/values/styles.xml +++ b/packages/SystemUI/res/values/styles.xml @@ -200,9 +200,9 @@ - - - - -