summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/values-h560dp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2014-12-11 21:00:12 +0100
committerJorim Jaggi <jjaggi@google.com>2014-12-11 21:51:30 +0100
commit0ed01deb2fc99603a33f968044703a740673c7b3 (patch)
treeefddf4a8eb60d08d4a957bfa3249bd7f4ba0d49c /packages/SystemUI/res/values-h560dp
parent43f4372c0aa87171f7e8bc3f20f7d2a78e6c6593 (diff)
downloadframeworks_base-0ed01deb2fc99603a33f968044703a740673c7b3.zip
frameworks_base-0ed01deb2fc99603a33f968044703a740673c7b3.tar.gz
frameworks_base-0ed01deb2fc99603a33f968044703a740673c7b3.tar.bz2
Limit item count in QS detail
- 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
Diffstat (limited to 'packages/SystemUI/res/values-h560dp')
-rw-r--r--packages/SystemUI/res/values-h560dp/config.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values-h560dp/config.xml b/packages/SystemUI/res/values-h560dp/config.xml
new file mode 100644
index 0000000..f210d7b
--- /dev/null
+++ b/packages/SystemUI/res/values-h560dp/config.xml
@@ -0,0 +1,23 @@
+<?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>
+