OSDN Git Service

DO NOT MERGE. Grant MMS Uri permissions as the calling UID.
[android-x86/frameworks-base.git] / packages / SystemUI / res / layout / status_bar_expanded.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 **
4 ** Copyright 2006, The Android Open Source Project
5 **
6 ** Licensed under the Apache License, Version 2.0 (the "License"); 
7 ** you may not use this file except in compliance with the License. 
8 ** You may obtain a copy of the License at 
9 **
10 **     http://www.apache.org/licenses/LICENSE-2.0 
11 **
12 ** Unless required by applicable law or agreed to in writing, software 
13 ** distributed under the License is distributed on an "AS IS" BASIS, 
14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
15 ** See the License for the specific language governing permissions and 
16 ** limitations under the License.
17 */
18 -->
19
20 <com.android.systemui.statusbar.phone.NotificationPanelView 
21     xmlns:android="http://schemas.android.com/apk/res/android"
22     xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
23     android:id="@+id/notification_panel"
24     android:layout_width="match_parent"
25     android:layout_height="match_parent"
26     android:background="@android:color/transparent"
27     >
28
29     <include
30         layout="@layout/keyguard_status_view"
31         android:layout_height="wrap_content"
32         android:visibility="gone" />
33
34     <com.android.systemui.statusbar.phone.NotificationsQuickSettingsContainer
35         android:layout_width="match_parent"
36         android:layout_height="match_parent"
37         android:layout_gravity="@integer/notification_panel_layout_gravity"
38         android:id="@+id/notification_container_parent"
39         android:clipToPadding="false"
40         android:clipChildren="false">
41
42         <com.android.systemui.AutoReinflateContainer
43             android:id="@+id/qs_auto_reinflate_container"
44             android:layout="@layout/qs_panel"
45             android:layout_width="@dimen/notification_panel_width"
46             android:layout_height="match_parent"
47             android:layout_gravity="@integer/notification_panel_layout_gravity"
48             android:clipToPadding="false"
49             android:clipChildren="false" />
50
51         <com.android.systemui.statusbar.stack.NotificationStackScrollLayout
52             android:id="@+id/notification_stack_scroller"
53             android:layout_width="@dimen/notification_panel_width"
54             android:layout_height="match_parent"
55             android:layout_gravity="@integer/notification_panel_layout_gravity"
56             android:layout_marginBottom="@dimen/close_handle_underlap" />
57
58         <ViewStub
59             android:id="@+id/keyguard_user_switcher"
60             android:layout="@layout/keyguard_user_switcher"
61             android:layout_height="match_parent"
62             android:layout_width="match_parent" />
63
64         <include
65             layout="@layout/keyguard_status_bar"
66             android:visibility="invisible" />
67
68         <Button
69             android:id="@+id/report_rejected_touch"
70             android:layout_width="wrap_content"
71             android:layout_height="wrap_content"
72             android:layout_marginTop="@dimen/status_bar_header_height_keyguard"
73             android:text="@string/report_rejected_touch"
74             android:visibility="gone" />
75
76     </com.android.systemui.statusbar.phone.NotificationsQuickSettingsContainer>
77
78     <include
79             layout="@layout/keyguard_bottom_area"
80             android:visibility="gone" />
81
82     <com.android.systemui.statusbar.AlphaOptimizedView
83         android:id="@+id/qs_navbar_scrim"
84         android:layout_height="96dp"
85         android:layout_width="match_parent"
86         android:layout_gravity="bottom"
87         android:visibility="invisible"
88         android:background="@drawable/qs_navbar_scrim" />
89
90 </com.android.systemui.statusbar.phone.NotificationPanelView><!-- end of sliding panel -->