blob: 4527c6c793d5dbe474f5aecfb81512cc5d561c81 [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
Selim Cinek2a1cab12020-06-01 19:19:58 -070051 <com.android.systemui.qs.NonInterceptingScrollView
52 android:id="@+id/expanded_qs_scroll_view"
Jason Monkb4cc7b12017-05-09 13:50:47 -040053 android:layout_width="match_parent"
54 android:layout_height="wrap_content"
Evan Laird39254d42018-01-18 16:05:30 -050055 android:elevation="4dp"
Selim Cineked687632020-07-08 14:34:28 -070056 android:importantForAccessibility="no"
Selim Cinek2a1cab12020-06-01 19:19:58 -070057 android:layout_weight="1">
58 <com.android.systemui.qs.QSPanel
59 android:id="@+id/quick_settings_panel"
60 android:layout_width="match_parent"
61 android:layout_height="wrap_content"
62 android:background="@android:color/transparent"
63 android:focusable="true"
64 android:accessibilityTraversalBefore="@android:id/edit">
65 <include layout="@layout/qs_footer_impl" />
Fabian Kozynski42c541e2020-06-22 11:50:11 -040066 <include layout="@layout/qs_media_divider"
67 android:id="@+id/divider"/>
Selim Cinek2a1cab12020-06-01 19:19:58 -070068 </com.android.systemui.qs.QSPanel>
69 </com.android.systemui.qs.NonInterceptingScrollView>
Evan Laird39254d42018-01-18 16:05:30 -050070
Jason Monke1be3422016-02-09 10:51:40 -050071 <include layout="@layout/quick_status_bar_expanded_header" />
72
Jason Monk377e7ad2016-02-16 14:03:21 -050073 <include android:id="@+id/qs_detail" layout="@layout/qs_detail" />
74
Jason Monk8b9d67f2016-03-02 08:59:08 -050075 <include android:id="@+id/qs_customize" layout="@layout/qs_customize_panel"
76 android:visibility="gone" />
77
Selim Cinekb52642b2020-04-17 14:30:29 -070078 <FrameLayout
79 android:id="@+id/qs_drag_handle_view"
80 android:layout_width="wrap_content"
81 android:layout_height="wrap_content"
82 android:layout_gravity="center_horizontal"
83 android:elevation="4dp"
84 android:paddingBottom="5dp">
85 <View
86 android:layout_width="46dp"
87 android:layout_height="3dp"
88 android:background="@drawable/qs_footer_drag_handle" />
89 </FrameLayout>
90
91
Jason Monk46767b72016-08-18 10:58:04 -040092</com.android.systemui.qs.QSContainerImpl>