From 2443194dd3347780f0689cf5e910d5873fb9c018 Mon Sep 17 00:00:00 2001 From: Aaron Liu Date: Mon, 24 Jan 2022 21:58:22 +0000 Subject: 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 --- packages/SystemUI/res/values-sw600dp-land/config.xml | 3 --- packages/SystemUI/res/values-sw600dp-port/config.xml | 1 - packages/SystemUI/res/values-sw600dp/config.xml | 3 --- packages/SystemUI/res/values-sw720dp-land/config.xml | 3 --- packages/SystemUI/res/values-w500dp/config.xml | 20 ++++++++++++++++++++ packages/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 ac4dfd212bb8..8c5006de577e 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 dabc3108458f..fe546f65bb13 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 02fd25bd077c..3c6a81e7c617 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 f5dc7e3e16da..1b8453ae824d 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 ae89ef4ccc86..be34a48d1cd6 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 000000000000..ef499ff5cdb7 --- /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 000000000000..337ebe19c748 --- /dev/null +++ b/packages/SystemUI/res/values-w850dp/config.xml @@ -0,0 +1,20 @@ + + + + + 4 + \ No newline at end of file -- cgit v1.2.3-59-g8ed1b