From bdfc27f9ac522e92647f9446f0b32f98ca769dfe Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Tue, 21 Feb 2017 18:24:39 -0800 Subject: [PATCH] Update GLIF button styles - The negative/secondary button styles now have the correct alpha for the touch highlight. (24%) - The negative/secondary buttons now align correctly based on their labels text, instead of based on the bounds of the touch highlight. - Fixed issues with button shadows being cropped. Test: Manual inspection. Existing tests pass. Change-Id: I261e504d661d7a53eda3561a26942ea11ba0d429 --- res/layout-land/choose_lock_pattern.xml | 8 +++++++- res/layout-land/fingerprint_enroll_enrolling.xml | 2 ++ res/layout-land/fingerprint_enroll_find_sensor.xml | 6 +++++- res/layout-land/fingerprint_enroll_finish.xml | 4 ++++ res/layout/choose_lock_password.xml | 4 ++++ res/layout/choose_lock_pattern_common.xml | 6 ++++++ res/layout/fingerprint_enroll_finish_base.xml | 2 ++ res/layout/fingerprint_enroll_introduction.xml | 4 ++++ res/layout/redaction_interstitial.xml | 2 ++ res/values/styles.xml | 10 +++++----- 10 files changed, 41 insertions(+), 7 deletions(-) diff --git a/res/layout-land/choose_lock_pattern.xml b/res/layout-land/choose_lock_pattern.xml index b4d5fceb938..0743577afb2 100644 --- a/res/layout-land/choose_lock_pattern.xml +++ b/res/layout-land/choose_lock_pattern.xml @@ -39,6 +39,8 @@ android:layout_weight="1.0" android:layout_marginStart="?attr/suwMarginSides" android:layout_marginBottom="@dimen/suw_content_frame_padding_bottom" + android:clipChildren="false" + android:clipToPadding="false" android:orientation="vertical"> + android:layout_weight="1.0" + android:clipChildren="false" + android:clipToPadding="false"> diff --git a/res/layout-land/fingerprint_enroll_enrolling.xml b/res/layout-land/fingerprint_enroll_enrolling.xml index 27af681aaaa..c89bc42be31 100644 --- a/res/layout-land/fingerprint_enroll_enrolling.xml +++ b/res/layout-land/fingerprint_enroll_enrolling.xml @@ -40,6 +40,8 @@ android:layout_height="match_parent" android:layout_marginStart="?attr/suwMarginSides" android:layout_marginBottom="@dimen/suw_content_frame_padding_bottom" + android:clipChildren="false" + android:clipToPadding="false" android:orientation="vertical"> + android:orientation="vertical" + android:clipChildren="false" + android:clipToPadding="false">