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
This commit is contained in:
@@ -31,9 +31,6 @@
|
||||
<!-- orientation of the dead zone when touches have recently occurred elsewhere on screen -->
|
||||
<integer name="navigation_bar_deadzone_orientation">1</integer>
|
||||
|
||||
<!-- Max number of columns for quick controls area -->
|
||||
<integer name="controls_max_columns">4</integer>
|
||||
|
||||
<!-- Max number of columns for power menu -->
|
||||
<integer name="power_menu_max_columns">4</integer>
|
||||
</resources>
|
||||
|
||||
@@ -15,9 +15,6 @@
|
||||
~ limitations under the License
|
||||
-->
|
||||
<resources>
|
||||
<!-- Max number of columns for quick controls area -->
|
||||
<integer name="controls_max_columns">2</integer>
|
||||
|
||||
<!-- The maximum number of rows in the QSPanel -->
|
||||
<integer name="quick_settings_max_rows">3</integer>
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
~ limitations under the License
|
||||
-->
|
||||
<resources>
|
||||
|
||||
<!-- The maximum number of tiles in the QuickQSPanel -->
|
||||
<integer name="quick_qs_panel_max_tiles">6</integer>
|
||||
|
||||
|
||||
@@ -29,9 +29,6 @@
|
||||
<!-- orientation of the dead zone when touches have recently occurred elsewhere on screen -->
|
||||
<integer name="navigation_bar_deadzone_orientation">0</integer>
|
||||
|
||||
<!-- Max number of columns for quick controls area -->
|
||||
<integer name="controls_max_columns">4</integer>
|
||||
|
||||
<!-- How many lines to show in the security footer -->
|
||||
<integer name="qs_security_footer_maxLines">1</integer>
|
||||
|
||||
|
||||
@@ -15,9 +15,6 @@
|
||||
~ limitations under the License
|
||||
-->
|
||||
<resources>
|
||||
<!-- Max number of columns for quick controls area -->
|
||||
<integer name="controls_max_columns">2</integer>
|
||||
|
||||
<!-- The maximum number of rows in the QSPanel -->
|
||||
<integer name="quick_settings_max_rows">3</integer>
|
||||
|
||||
|
||||
20
packages/SystemUI/res/values-w500dp/config.xml
Normal file
20
packages/SystemUI/res/values-w500dp/config.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<!--
|
||||
~ Copyright (C) 2022 The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<!-- Max number of columns for quick controls area -->
|
||||
<integer name="controls_max_columns">3</integer>
|
||||
</resources>
|
||||
20
packages/SystemUI/res/values-w850dp/config.xml
Normal file
20
packages/SystemUI/res/values-w850dp/config.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<!--
|
||||
~ Copyright (C) 2022 The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<!-- Max number of columns for quick controls area -->
|
||||
<integer name="controls_max_columns">4</integer>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user