From 667d694220cf857ed2b0bce37f5e8e21932459e8 Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Wed, 29 Mar 2017 21:10:15 -0700 Subject: [PATCH] Sticky footer for GLIF theme For settings screens using GLIF theme, update to sticky footers. Test: Existing tests pass Bug: 35448201 Change-Id: If26e7e25f7f02b4c24979503e0c9359b88ff16d1 (cherry picked from commit a857c8da4fcac98e70ea0d8d5b108aff24561341) --- res/layout/choose_lock_password.xml | 28 +----------- res/layout/choose_lock_password_footer.xml | 43 ++++++++++++++++++ res/layout/choose_lock_pattern_common.xml | 30 +------------ .../choose_lock_pattern_common_footer.xml | 44 +++++++++++++++++++ res/layout/confirm_lock_password_internal.xml | 14 +++--- .../confirm_lock_pattern_internal_base.xml | 19 ++++---- res/layout/encryption_interstitial.xml | 33 ++------------ res/layout/encryption_interstitial_footer.xml | 43 ++++++++++++++++++ .../fingerprint_enroll_find_sensor_base.xml | 6 +-- res/layout/fingerprint_enroll_finish_base.xml | 33 ++------------ .../fingerprint_enroll_finish_base_footer.xml | 43 ++++++++++++++++++ .../fingerprint_enroll_introduction.xml | 32 ++------------ ...fingerprint_enroll_introduction_footer.xml | 43 ++++++++++++++++++ res/layout/redaction_interstitial.xml | 9 +--- res/layout/redaction_interstitial_footer.xml | 32 ++++++++++++++ 15 files changed, 280 insertions(+), 172 deletions(-) create mode 100644 res/layout/choose_lock_password_footer.xml create mode 100644 res/layout/choose_lock_pattern_common_footer.xml create mode 100644 res/layout/encryption_interstitial_footer.xml create mode 100644 res/layout/fingerprint_enroll_finish_base_footer.xml create mode 100644 res/layout/fingerprint_enroll_introduction_footer.xml create mode 100644 res/layout/redaction_interstitial_footer.xml diff --git a/res/layout/choose_lock_password.xml b/res/layout/choose_lock_password.xml index 260db7f73e6..0888b5e201f 100644 --- a/res/layout/choose_lock_password.xml +++ b/res/layout/choose_lock_password.xml @@ -20,6 +20,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:icon="@drawable/ic_lock" + settings:suwFooter="@layout/choose_lock_password_footer" settings:suwHeaderText="@string/lockpassword_choose_your_password_header"> - - - -