From 44d5ad8a57490a8c74b6f9a83be72f51c5525357 Mon Sep 17 00:00:00 2001 From: Curtis Belmonte Date: Mon, 27 Apr 2020 16:08:59 -0700 Subject: [PATCH] Condense landscape layout of auth credential password view Changes the layout of the biometric prompt auth credential password when in landscape orientation, in order to prevent the keyboard from obscuring the password/PIN entry or error text views. Specifically: - Removes the icon from the layout - Reduces/removes padding and spacers Test: CTS Verifier > Biometric Tests > 4a: Credential, Cipher Test: Biometric support demo app Fixes: 155041280 Change-Id: I8d576f76d2e90b1830a22aebbfc12559634b6b75 --- .../auth_credential_password_view.xml | 61 +++++++++++++++++++ packages/SystemUI/res/values/styles.xml | 4 +- .../biometrics/AuthCredentialView.java | 19 +++--- 3 files changed, 74 insertions(+), 10 deletions(-) create mode 100644 packages/SystemUI/res/layout-land/auth_credential_password_view.xml diff --git a/packages/SystemUI/res/layout-land/auth_credential_password_view.xml b/packages/SystemUI/res/layout-land/auth_credential_password_view.xml new file mode 100644 index 0000000000000..d89f329039c66 --- /dev/null +++ b/packages/SystemUI/res/layout-land/auth_credential_password_view.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/SystemUI/res/values/styles.xml b/packages/SystemUI/res/values/styles.xml index f67bb6b79f37e..57d2040bed57c 100644 --- a/packages/SystemUI/res/values/styles.xml +++ b/packages/SystemUI/res/values/styles.xml @@ -258,7 +258,7 @@ @@ -278,7 +278,7 @@