From 13c3f31a0d7d6140708c5885c8a857a00e99c3e5 Mon Sep 17 00:00:00 2001 From: Andy Wickham Date: Wed, 22 Sep 2021 17:03:28 -0700 Subject: [PATCH] Makes All Set layout more responsive. - No longer forced portrait mode - Bottom texts are aligned proportionally to the screen height to avoid overlapping in landscape folded - Subtitle text width is limited to force wrapping to avoid an awkward line of text on wider screens Fix: 189896987 Bug: 187701213 Test: Manually went between portrait/landscape/folded/unfolded. Change-Id: Ibb2bbe545cf7f154ad77e10d574e72f8d9110a72 --- quickstep/AndroidManifest.xml | 1 - quickstep/res/layout/activity_allset.xml | 89 ++++++++++++++---------- quickstep/res/values/dimens.xml | 2 +- 3 files changed, 52 insertions(+), 40 deletions(-) diff --git a/quickstep/AndroidManifest.xml b/quickstep/AndroidManifest.xml index dc92731e16..bc8bd3ad4b 100644 --- a/quickstep/AndroidManifest.xml +++ b/quickstep/AndroidManifest.xml @@ -116,7 +116,6 @@ - - + + + android:text="@string/allset_title"/> - + - - - - + + + - + diff --git a/quickstep/res/values/dimens.xml b/quickstep/res/values/dimens.xml index c6490827d8..967dbf2855 100644 --- a/quickstep/res/values/dimens.xml +++ b/quickstep/res/values/dimens.xml @@ -125,8 +125,8 @@ 40dp 24dp 32dp - 52dp 24dp + 348dp 8dp