From 5fffa74d68dbfe57c5a84fb5719bac9ddb5d661b Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Thu, 28 Jul 2016 17:12:24 -0700 Subject: [PATCH] Position fingerprint progress in the center on landscape Update the layout of the landscape fingerprint enrolling screen to be consistent with fingerprint find sensor, which vertically centers the graphic on the right. Also added back the accessibility live region for TalkBack. Bug: 30288351 Bug: 30287231 Change-Id: Ia5b429215e36bbc108585aa8b14330b77ddc8584 (cherry picked from commit c81575138ed00999aa0e9f1e5c4d6445f0300dda) --- .../fingerprint_enroll_enrolling.xml | 57 +++++++++++++------ 1 file changed, 41 insertions(+), 16 deletions(-) diff --git a/res/layout-land/fingerprint_enroll_enrolling.xml b/res/layout-land/fingerprint_enroll_enrolling.xml index 8154d0c6fbe..ba0f803b047 100644 --- a/res/layout-land/fingerprint_enroll_enrolling.xml +++ b/res/layout-land/fingerprint_enroll_enrolling.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:layout_height="match_parent" + android:layout_marginStart="?attr/suwMarginSides" + android:layout_marginBottom="@dimen/suw_content_frame_padding_bottom" + android:orientation="vertical"> + + + android:layout_marginStart="0dp" + android:layout_marginEnd="0dp" /> - + android:layout_height="wrap_content"> + + + + + +