From 2443194dd3347780f0689cf5e910d5873fb9c018 Mon Sep 17 00:00:00 2001 From: Aaron Liu Date: Mon, 24 Jan 2022 21:58:22 +0000 Subject: [PATCH] Home Controls: Adjust resource configs for UI to be responsive. Adjusted resource configs to be responsive for the tablet. We expect to see 3 columns for portrait and 4 columns for landscape on the tablet. We still need to adjust margin, which will be done in a later CL. Bug: 215745329 Test: Manual test on CF tablet instance. Change-Id: Ib21be2badffdc92b357d25f710b5a8c757e3dd08 --- packages/SystemUI/res/values-land/config.xml | 3 --- .../res/values-sw600dp-land/config.xml | 3 --- .../res/values-sw600dp-port/config.xml | 1 - .../SystemUI/res/values-sw600dp/config.xml | 3 --- .../res/values-sw720dp-land/config.xml | 3 --- .../SystemUI/res/values-w500dp/config.xml | 20 +++++++++++++++++++ .../SystemUI/res/values-w850dp/config.xml | 20 +++++++++++++++++++ 7 files changed, 40 insertions(+), 13 deletions(-) create mode 100644 packages/SystemUI/res/values-w500dp/config.xml create mode 100644 packages/SystemUI/res/values-w850dp/config.xml diff --git a/packages/SystemUI/res/values-land/config.xml b/packages/SystemUI/res/values-land/config.xml index ac4dfd212bb85..8c5006de577ee 100644 --- a/packages/SystemUI/res/values-land/config.xml +++ b/packages/SystemUI/res/values-land/config.xml @@ -31,9 +31,6 @@ 1 - - 4 - 4 diff --git a/packages/SystemUI/res/values-sw600dp-land/config.xml b/packages/SystemUI/res/values-sw600dp-land/config.xml index dabc3108458f1..fe546f65bb136 100644 --- a/packages/SystemUI/res/values-sw600dp-land/config.xml +++ b/packages/SystemUI/res/values-sw600dp-land/config.xml @@ -15,9 +15,6 @@ ~ limitations under the License --> - - 2 - 3 diff --git a/packages/SystemUI/res/values-sw600dp-port/config.xml b/packages/SystemUI/res/values-sw600dp-port/config.xml index 02fd25bd077c0..3c6a81e7c617f 100644 --- a/packages/SystemUI/res/values-sw600dp-port/config.xml +++ b/packages/SystemUI/res/values-sw600dp-port/config.xml @@ -15,7 +15,6 @@ ~ limitations under the License --> - 6 diff --git a/packages/SystemUI/res/values-sw600dp/config.xml b/packages/SystemUI/res/values-sw600dp/config.xml index f5dc7e3e16daa..1b8453ae824d9 100644 --- a/packages/SystemUI/res/values-sw600dp/config.xml +++ b/packages/SystemUI/res/values-sw600dp/config.xml @@ -29,9 +29,6 @@ 0 - - 4 - 1 diff --git a/packages/SystemUI/res/values-sw720dp-land/config.xml b/packages/SystemUI/res/values-sw720dp-land/config.xml index ae89ef4ccc86e..be34a48d1cd64 100644 --- a/packages/SystemUI/res/values-sw720dp-land/config.xml +++ b/packages/SystemUI/res/values-sw720dp-land/config.xml @@ -15,9 +15,6 @@ ~ limitations under the License --> - - 2 - 3 diff --git a/packages/SystemUI/res/values-w500dp/config.xml b/packages/SystemUI/res/values-w500dp/config.xml new file mode 100644 index 0000000000000..ef499ff5cdb79 --- /dev/null +++ b/packages/SystemUI/res/values-w500dp/config.xml @@ -0,0 +1,20 @@ + + + + + 3 + \ No newline at end of file diff --git a/packages/SystemUI/res/values-w850dp/config.xml b/packages/SystemUI/res/values-w850dp/config.xml new file mode 100644 index 0000000000000..337ebe19c748a --- /dev/null +++ b/packages/SystemUI/res/values-w850dp/config.xml @@ -0,0 +1,20 @@ + + + + + 4 + \ No newline at end of file