From 4a1f8a76f3d8f2c1fb3dce83f722aa3361ef6869 Mon Sep 17 00:00:00 2001 From: jackqdyulei Date: Tue, 18 Oct 2016 16:39:02 -0700 Subject: [PATCH] Use layout weight attr and scrollview in lock pattern screen. General idea is to stop UI distortion when display size set to largest. Use layout weight to distribute space by ratio, and use scroll view to wrap "title and summary" layout in case display size are too large to display. Bug: 32057149 Test: Visual Change-Id: Ie800e4c5e98f6bbd699395168cfc228f8b65ac7f --- res/layout/confirm_lock_pattern_base.xml | 75 +++++++++++++----------- 1 file changed, 41 insertions(+), 34 deletions(-) diff --git a/res/layout/confirm_lock_pattern_base.xml b/res/layout/confirm_lock_pattern_base.xml index 7c960a2b955..e6b7887d893 100644 --- a/res/layout/confirm_lock_pattern_base.xml +++ b/res/layout/confirm_lock_pattern_base.xml @@ -29,47 +29,54 @@ android:layout_gravity="top|center_horizontal" android:paddingTop="@dimen/confirm_credentials_top_padding"> - + - + -