From 212fc5650acb560307813ab16dfb31da014d3629 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Tue, 21 Jun 2011 14:13:10 -0700 Subject: [PATCH] Fix 4686480: Cleanup LockScreen settings This fix updates the style for buttons to better conform to the screen by using weightSums. It also makes layouts much more flexible across platforms by making better use of the square aspect feature of LockPatternView. Change-Id: I63677790bf0ac52707c8c356540ecd5dc50ca33b --- res/layout-land/choose_lock_pattern.xml | 5 +++-- res/layout-land/confirm_lock_pattern.xml | 5 +++-- res/layout/choose_lock_pattern.xml | 5 +++-- res/layout/choose_lock_pattern_tutorial.xml | 13 ++++--------- res/layout/confirm_lock_pattern.xml | 6 ++++-- res/values/styles.xml | 6 ++++-- 6 files changed, 21 insertions(+), 19 deletions(-) diff --git a/res/layout-land/choose_lock_pattern.xml b/res/layout-land/choose_lock_pattern.xml index 9af76d10402..588d8da2b03 100644 --- a/res/layout-land/choose_lock_pattern.xml +++ b/res/layout-land/choose_lock_pattern.xml @@ -82,10 +82,11 @@ android:background="@*android:drawable/code_lock_left" android:layout_width="2dip" android:layout_height="match_parent" /> + + android:layout_width="match_parent" + android:layout_height="match_parent" /> diff --git a/res/layout-land/confirm_lock_pattern.xml b/res/layout-land/confirm_lock_pattern.xml index 2da2b9a9a7b..8c4e91258a5 100644 --- a/res/layout-land/confirm_lock_pattern.xml +++ b/res/layout-land/confirm_lock_pattern.xml @@ -56,10 +56,11 @@ android:background="@*android:drawable/code_lock_left" android:layout_width="2dip" android:layout_height="match_parent" /> + + android:layout_width="match_parent" + android:layout_height="match_parent" /> diff --git a/res/layout/choose_lock_pattern.xml b/res/layout/choose_lock_pattern.xml index 79307c5f3ee..a3563151f40 100644 --- a/res/layout/choose_lock_pattern.xml +++ b/res/layout/choose_lock_pattern.xml @@ -39,9 +39,10 @@ android:background="@*android:drawable/code_lock_top" android:layout_width="match_parent" android:layout_height="2dip" /> + + android:layout_width="match_parent" + android:layout_height="match_parent" /> + - - + android:layout_width="match_parent" + android:layout_height="match_parent"/> + + android:layout_width="match_parent" + android:layout_height="match_parent" /> +