• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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-->
16<com.android.systemui.qs.QSContainerImpl
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"
21    android:clipToPadding="false"
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"
36        android:layout_height="@*android:dimen/quick_qs_offset_height"
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"
46        android:layout_marginTop="@*android:dimen/quick_qs_offset_height"
47        android:clipToPadding="false"
48        android:clipChildren="false"
49        android:background="@drawable/qs_bg_gradient" />
50
51
52    <com.android.systemui.qs.QSPanel
53        android:id="@+id/quick_settings_panel"
54        android:layout_marginTop="@*android:dimen/quick_qs_offset_height"
55        android:layout_width="match_parent"
56        android:layout_height="wrap_content"
57        android:layout_marginBottom="@dimen/qs_footer_height"
58        android:elevation="4dp"
59        android:background="@android:color/transparent"
60        android:focusable="true"
61        android:accessibilityTraversalBefore="@android:id/edit"
62    />
63
64    <include layout="@layout/quick_status_bar_expanded_header" />
65
66    <include layout="@layout/qs_footer_impl" />
67
68    <include android:id="@+id/qs_detail" layout="@layout/qs_detail" />
69
70    <include android:id="@+id/qs_customize" layout="@layout/qs_customize_panel"
71        android:visibility="gone" />
72
73</com.android.systemui.qs.QSContainerImpl>
74