From 936737974f77ad4cf6479cd19165f75a6f66aa32 Mon Sep 17 00:00:00 2001 From: Curtis Belmonte Date: Wed, 18 Mar 2020 12:40:24 -0700 Subject: [PATCH] Fix landscape layout of BiometricPrompt pattern screen Test: Manual: 1. Enter "BiometricPrompt Demo" app. 2. Check "Allow device credential", uncheck "Require confirmation". 3. Check any Radio button. (e.g. Persist across configuration changes) 4. Rotate DUT to landscape mode. 5. Tap the "AUTHENTICATE" then deliberately unrecognized. 6. Tap "Use pattern" button. Before: The pattern entry UI is clipped and the text is not visible. After: The pattern entry UI fits on the screen and is interactable. Fixes: 149545148 Change-Id: Iefc0a7ce60a8caeb537b46ec821df0ea4d80e843 --- .../auth_credential_pattern_view.xml | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/packages/SystemUI/res/layout-land/auth_credential_pattern_view.xml b/packages/SystemUI/res/layout-land/auth_credential_pattern_view.xml index c40e47df9a55d..e791c8aea97e8 100644 --- a/packages/SystemUI/res/layout-land/auth_credential_pattern_view.xml +++ b/packages/SystemUI/res/layout-land/auth_credential_pattern_view.xml @@ -65,11 +65,26 @@ android:layout_height="0dp" android:layout_weight="1"/> + + + + - - - - \ No newline at end of file