John Spurlock | af8d6c4 | 2014-05-07 17:49:08 -0400 | [diff] [blame] | 1 | <?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 Monk | 46767b7 | 2016-08-18 10:58:04 -0400 | [diff] [blame] | 16 | <com.android.systemui.qs.QSContainerImpl |
Jason Monk | b4cc7b1 | 2017-05-09 13:50:47 -0400 | [diff] [blame] | 17 | 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 Monk | b4cc7b1 | 2017-05-09 13:50:47 -0400 | [diff] [blame] | 21 | android:clipToPadding="false" |
Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 22 | 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 Laird | 19bf52c | 2018-01-24 19:54:58 -0500 | [diff] [blame] | 36 | android:layout_height="@*android:dimen/quick_qs_offset_height" |
Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 37 | 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 Laird | 19bf52c | 2018-01-24 19:54:58 -0500 | [diff] [blame] | 46 | android:layout_marginTop="@*android:dimen/quick_qs_offset_height" |
Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 47 | android:clipToPadding="false" |
| 48 | android:clipChildren="false" |
| 49 | android:background="@drawable/qs_bg_gradient" /> |
| 50 | |
Selim Cinek | 2a1cab1 | 2020-06-01 19:19:58 -0700 | [diff] [blame] | 51 | <com.android.systemui.qs.NonInterceptingScrollView |
| 52 | android:id="@+id/expanded_qs_scroll_view" |
Jason Monk | b4cc7b1 | 2017-05-09 13:50:47 -0400 | [diff] [blame] | 53 | android:layout_width="match_parent" |
| 54 | android:layout_height="wrap_content" |
Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 55 | android:elevation="4dp" |
Selim Cinek | ed68763 | 2020-07-08 14:34:28 -0700 | [diff] [blame] | 56 | android:importantForAccessibility="no" |
Selim Cinek | 2a1cab1 | 2020-06-01 19:19:58 -0700 | [diff] [blame] | 57 | 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 Kozynski | 42c541e | 2020-06-22 11:50:11 -0400 | [diff] [blame] | 66 | <include layout="@layout/qs_media_divider" |
| 67 | android:id="@+id/divider"/> |
Selim Cinek | 2a1cab1 | 2020-06-01 19:19:58 -0700 | [diff] [blame] | 68 | </com.android.systemui.qs.QSPanel> |
| 69 | </com.android.systemui.qs.NonInterceptingScrollView> |
Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 70 | |
Jason Monk | e1be342 | 2016-02-09 10:51:40 -0500 | [diff] [blame] | 71 | <include layout="@layout/quick_status_bar_expanded_header" /> |
| 72 | |
Jason Monk | 377e7ad | 2016-02-16 14:03:21 -0500 | [diff] [blame] | 73 | <include android:id="@+id/qs_detail" layout="@layout/qs_detail" /> |
| 74 | |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 75 | <include android:id="@+id/qs_customize" layout="@layout/qs_customize_panel" |
| 76 | android:visibility="gone" /> |
| 77 | |
Selim Cinek | b52642b | 2020-04-17 14:30:29 -0700 | [diff] [blame] | 78 | <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 Monk | 46767b7 | 2016-08-18 10:58:04 -0400 | [diff] [blame] | 92 | </com.android.systemui.qs.QSContainerImpl> |