From 0ceb2d69d5f7d5d18dd2d5d7cf60561c7e31c440 Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Mon, 9 May 2016 18:22:08 -0700 Subject: [PATCH] Fix truncated text in pattern lock setup Partially apply ag/708412 to the setup version of the layout. The rest is not necessary because we assign a weight to the lock pattern view as well. Use the short header layout for screens smaller than sw360dp so that there is more space for the pattern view. Bug: 28663249 Change-Id: I8cda13834504a345046bc3bf6e0959d613597916 --- .../setup_choose_lock_pattern_common.xml | 10 +++++----- res/values-sw360dp/aliases.xml | 20 +++++++++++++++++++ res/values/aliases.xml | 1 + 3 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 res/values-sw360dp/aliases.xml diff --git a/res/layout/setup_choose_lock_pattern_common.xml b/res/layout/setup_choose_lock_pattern_common.xml index 857f244403c..0a386378229 100644 --- a/res/layout/setup_choose_lock_pattern_common.xml +++ b/res/layout/setup_choose_lock_pattern_common.xml @@ -21,6 +21,7 @@ xmlns:settings="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" + android:layout="@layout/setup_choose_lock_pattern_template" settings:suwBackgroundTile="@drawable/setup_illustration_tile" settings:suwHeaderText="@string/wifi_setup_wizard_title" settings:suwIllustrationHorizontalTile="@drawable/setup_illustration_horizontal_tile" @@ -43,11 +44,11 @@ + android:textSize="18sp" />