From b49eb4348a5b117f022ef8a0972be7985a2d611a Mon Sep 17 00:00:00 2001 From: Pavel Grafov Date: Wed, 29 May 2019 14:36:46 +0100 Subject: [PATCH] Make work challenge pattern resizeable. Currently in split-screen mode if work challenge window is made too narrow, the dots of the pattern will go beyond window/screen boundaries. This change makes pattern behave in the same way as primary profile pattern does, see confirm_lock_pattern_normal.xml Fixes: 133135598 Test: manual, resizing work challenge in portrait and landscape. Change-Id: I40649911c2b7c587bf0b7e4a5c0449a5c2b7abb0 --- res/layout-land/confirm_lock_pattern.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/res/layout-land/confirm_lock_pattern.xml b/res/layout-land/confirm_lock_pattern.xml index 20a7bfcdd43..6ca9be4e29d 100644 --- a/res/layout-land/confirm_lock_pattern.xml +++ b/res/layout-land/confirm_lock_pattern.xml @@ -87,11 +87,9 @@ + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="center"/>