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 | 2a1cab1 | 2020-06-01 19:19:58 -0700 | [diff] [blame] | 56 | android:layout_weight="1"> |
| 57 | <com.android.systemui.qs.QSPanel |
| 58 | android:id="@+id/quick_settings_panel" |
| 59 | android:layout_width="match_parent" |
| 60 | android:layout_height="wrap_content" |
| 61 | android:background="@android:color/transparent" |
| 62 | android:focusable="true" |
| 63 | android:accessibilityTraversalBefore="@android:id/edit"> |
| 64 | <include layout="@layout/qs_footer_impl" /> |
Fabian Kozynski | 42c541e | 2020-06-22 11:50:11 -0400 | [diff] [blame] | 65 | <include layout="@layout/qs_media_divider" |
| 66 | android:id="@+id/divider"/> |
Selim Cinek | 2a1cab1 | 2020-06-01 19:19:58 -0700 | [diff] [blame] | 67 | </com.android.systemui.qs.QSPanel> |
| 68 | </com.android.systemui.qs.NonInterceptingScrollView> |
Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 69 | |
Jason Monk | e1be342 | 2016-02-09 10:51:40 -0500 | [diff] [blame] | 70 | <include layout="@layout/quick_status_bar_expanded_header" /> |
| 71 | |
Jason Monk | 377e7ad | 2016-02-16 14:03:21 -0500 | [diff] [blame] | 72 | <include android:id="@+id/qs_detail" layout="@layout/qs_detail" /> |
| 73 | |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 74 | <include android:id="@+id/qs_customize" layout="@layout/qs_customize_panel" |
| 75 | android:visibility="gone" /> |
| 76 | |
Selim Cinek | b52642b | 2020-04-17 14:30:29 -0700 | [diff] [blame] | 77 | <FrameLayout |
| 78 | android:id="@+id/qs_drag_handle_view" |
| 79 | android:layout_width="wrap_content" |
| 80 | android:layout_height="wrap_content" |
| 81 | android:layout_gravity="center_horizontal" |
| 82 | android:elevation="4dp" |
| 83 | android:paddingBottom="5dp"> |
| 84 | <View |
| 85 | android:layout_width="46dp" |
| 86 | android:layout_height="3dp" |
| 87 | android:background="@drawable/qs_footer_drag_handle" /> |
| 88 | </FrameLayout> |
| 89 | |
| 90 | |
Jason Monk | 46767b7 | 2016-08-18 10:58:04 -0400 | [diff] [blame] | 91 | </com.android.systemui.qs.QSContainerImpl> |