From 5ed96dc2645224d4e6b0de77a29d3959537b980b Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Wed, 17 May 2017 19:55:23 -0700 Subject: [PATCH] Resize fingerprint added illustration to specs Use FillContentLayout to make sure the illustration is according to specs, between 124dp and 264dp, filling up the remaining size. The landscape layout is also updated so that the illustration is vertically centered instead of shifted downwards. Test: Manual Bug: 37668789 Change-Id: If17e509d4643d620c76ca4a5bc0120272c7c58bb --- res/layout-land/fingerprint_enroll_finish.xml | 43 ++++++++++++++----- res/layout/fingerprint_enroll_finish_base.xml | 31 +++++-------- res/values-sw400dp/dimens.xml | 1 - res/values/dimens.xml | 3 -- 4 files changed, 43 insertions(+), 35 deletions(-) diff --git a/res/layout-land/fingerprint_enroll_finish.xml b/res/layout-land/fingerprint_enroll_finish.xml index ca1a2d26339..b9e2a6440a7 100644 --- a/res/layout-land/fingerprint_enroll_finish.xml +++ b/res/layout-land/fingerprint_enroll_finish.xml @@ -20,6 +20,7 @@ android:id="@+id/setup_wizard_layout" android:layout_width="match_parent" android:layout_height="match_parent" + android:layout="@layout/suw_glif_blank_template" style="?attr/fingerprint_layout_theme"> + android:clipChildren="false"> + + + + + + - + android:layout_height="match_parent"> - + diff --git a/res/layout/fingerprint_enroll_finish_base.xml b/res/layout/fingerprint_enroll_finish_base.xml index bdecd72b4a5..f0bd8822f4f 100644 --- a/res/layout/fingerprint_enroll_finish_base.xml +++ b/res/layout/fingerprint_enroll_finish_base.xml @@ -50,29 +50,20 @@ android:textColor="?android:attr/textColorSecondary" android:visibility="gone" /> - - - + android:layout_weight="1"> - + + + diff --git a/res/values-sw400dp/dimens.xml b/res/values-sw400dp/dimens.xml index 7ae40612aa2..0c35d843629 100755 --- a/res/values-sw400dp/dimens.xml +++ b/res/values-sw400dp/dimens.xml @@ -17,7 +17,6 @@ 56dp - 176dp 240dp 56dp diff --git a/res/values/dimens.xml b/res/values/dimens.xml index ea8f0d668a2..371c084f3d5 100755 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -223,9 +223,6 @@ 220dp 120dp 36dp - 124dp - 124dp - 264dp 48dp @dimen/match_parent