- Introduce a maximum number of items to be shown in QS detail view depending on the device configuration. - For Wifi and Cast, make the panel exactly that height as we would show the maximum count of items, in order to prevent that the buttons jump around. Bug: 18665311 Change-Id: I7c0c383a902d295f1b486b8a074e15b990fbe562
24 lines
847 B
XML
24 lines
847 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
~ Copyright (C) 2014 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>
|
|
<!-- The maximum number of items to be displayed in quick settings -->
|
|
<integer name="quick_settings_detail_max_item_count">8</integer>
|
|
</resources>
|
|
|