1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 ** 4 ** Copyright 2012, 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 <!-- This is the combined status bar / notification panel window. --> 21 <com.android.systemui.statusbar.phone.StatusBarWindowView 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" 24 android:focusable="true" 25 android:descendantFocusability="afterDescendants" 26 android:fitsSystemWindows="true" 27 > 28 29 <include layout="@layout/status_bar" 30 android:layout_width="match_parent" 31 android:layout_height="@*android:dimen/status_bar_height" 32 /> 33 34 35 <com.android.systemui.statusbar.phone.PanelHolder 36 android:id="@+id/panel_holder" 37 android:layout_width="match_parent" 38 android:layout_height="match_parent" 39 android:layout_marginTop="@*android:dimen/status_bar_height" 40 > 41 <include layout="@layout/status_bar_expanded" 42 android:layout_width="@dimen/notification_panel_width" 43 android:layout_height="wrap_content" 44 android:layout_gravity="start|top" 45 /> 46 <include layout="@layout/quick_settings" 47 android:layout_width="@dimen/notification_panel_width" 48 android:layout_height="wrap_content" 49 android:layout_gravity="end|top" 50 /> 51 </com.android.systemui.statusbar.phone.PanelHolder> 52 </com.android.systemui.statusbar.phone.StatusBarWindowView> 53