blob: 8c57ae8c85691af0e901834ccc43fb6d35b9bd8f [file] [log] [blame]
John Spurlockaf8d6c42014-05-07 17:49:08 -04001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
Jason Monk46767b72016-08-18 10:58:04 -040016<com.android.systemui.qs.QSContainerImpl
Jason Monkb4cc7b12017-05-09 13:50:47 -040017 xmlns:android="http://schemas.android.com/apk/res/android"
18 android:id="@+id/quick_settings_container"
19 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
Jason Monkb4cc7b12017-05-09 13:50:47 -040021 android:clipToPadding="false"
Evan Laird39254d42018-01-18 16:05:30 -050022 android:clipChildren="false" >
23
24 <!-- Main QS background -->
25 <View
26 android:id="@+id/quick_settings_background"
27 android:layout_width="match_parent"
28 android:layout_height="0dp"
29 android:elevation="4dp"
30 android:background="@drawable/qs_background_primary" />
31
32 <!-- Black part behind the status bar -->
33 <View
34 android:id="@+id/quick_settings_status_bar_background"
35 android:layout_width="match_parent"
Evan Laird19bf52c2018-01-24 19:54:58 -050036 android:layout_height="@*android:dimen/quick_qs_offset_height"
Evan Laird39254d42018-01-18 16:05:30 -050037 android:clipToPadding="false"
38 android:clipChildren="false"
39 android:background="#ff000000" />
40
41 <!-- Gradient view behind QS -->
42 <View
43 android:id="@+id/quick_settings_gradient_view"
44 android:layout_width="match_parent"
45 android:layout_height="126dp"
Evan Laird19bf52c2018-01-24 19:54:58 -050046 android:layout_marginTop="@*android:dimen/quick_qs_offset_height"
Evan Laird39254d42018-01-18 16:05:30 -050047 android:clipToPadding="false"
48 android:clipChildren="false"
49 android:background="@drawable/qs_bg_gradient" />
50
Jason Monkb4cc7b12017-05-09 13:50:47 -040051
John Spurlockaf8d6c42014-05-07 17:49:08 -040052 <com.android.systemui.qs.QSPanel
Jason Monkb4cc7b12017-05-09 13:50:47 -040053 android:id="@+id/quick_settings_panel"
Evan Laird19bf52c2018-01-24 19:54:58 -050054 android:layout_marginTop="@*android:dimen/quick_qs_offset_height"
Jason Monkb4cc7b12017-05-09 13:50:47 -040055 android:layout_width="match_parent"
56 android:layout_height="wrap_content"
Amin Shaikh15781d62018-02-16 16:00:13 -050057 android:layout_marginBottom="@dimen/qs_footer_height"
Evan Laird39254d42018-01-18 16:05:30 -050058 android:elevation="4dp"
Amin Shaikh30330992018-03-26 17:50:42 -040059 android:background="@android:color/transparent"
shawnlin6c965f62018-03-30 20:05:21 +080060 android:focusable="true"
61 android:accessibilityTraversalBefore="@id/qs_carrier_text"
Evan Laird39254d42018-01-18 16:05:30 -050062 />
63
Jason Monke1be3422016-02-09 10:51:40 -050064 <include layout="@layout/quick_status_bar_expanded_header" />
65
Anthony Chen54daefe2017-04-07 17:19:54 -070066 <include layout="@layout/qs_footer_impl" />
Jason Monke5b770e2017-03-03 21:49:29 -050067
Jason Monk377e7ad2016-02-16 14:03:21 -050068 <include android:id="@+id/qs_detail" layout="@layout/qs_detail" />
69
Jason Monk8b9d67f2016-03-02 08:59:08 -050070 <include android:id="@+id/qs_customize" layout="@layout/qs_customize_panel"
71 android:visibility="gone" />
72
Jason Monk46767b72016-08-18 10:58:04 -040073</com.android.systemui.qs.QSContainerImpl>