1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* apps/common/assets/default/default/skins/StatusBar.xml 4 ** 5 ** Copyright 2006, The Android Open Source Project 6 ** 7 ** Licensed under the Apache License, Version 2.0 (the "License"); 8 ** you may not use this file except in compliance with the License. 9 ** You may obtain a copy of the License at 10 ** 11 ** http://www.apache.org/licenses/LICENSE-2.0 12 ** 13 ** Unless required by applicable law or agreed to in writing, software 14 ** distributed under the License is distributed on an "AS IS" BASIS, 15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 ** See the License for the specific language governing permissions and 17 ** limitations under the License. 18 */ 19 --> 20 21 <com.android.systemui.statusbar.phone.ExpandedView 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" 24 android:orientation="vertical" 25 android:focusable="true" 26 android:descendantFocusability="afterDescendants" 27 > 28 29 <RelativeLayout 30 android:layout_width="match_parent" 31 android:layout_height="52dp" 32 android:paddingTop="3dp" 33 android:paddingBottom="5dp" 34 android:paddingRight="3dp" 35 android:background="@drawable/notification_header_bg" 36 > 37 <com.android.systemui.statusbar.policy.DateView android:id="@+id/date" 38 android:textAppearance="@style/TextAppearance.StatusBar.Date" 39 android:layout_width="wrap_content" 40 android:layout_height="match_parent" 41 android:layout_alignParentLeft="true" 42 android:singleLine="true" 43 android:gravity="center_vertical|left" 44 android:paddingLeft="16dp" 45 /> 46 <!-- 47 <com.android.systemui.statusbar.phone.CarrierLabel 48 android:layout_width="0dp" 49 android:layout_height="wrap_content" 50 android:layout_weight="1" 51 android:layout_marginTop="1dp" 52 android:layout_marginLeft="5dp" 53 android:layout_gravity="center_vertical" 54 android:paddingBottom="1dp" 55 android:paddingLeft="4dp" 56 android:textAppearance="?android:attr/textAppearanceLarge" 57 android:textColor="?android:attr/textColorSecondary" 58 /> 59 --> 60 61 <ImageView android:id="@+id/settings_button" 62 android:layout_width="wrap_content" 63 android:layout_height="match_parent" 64 android:layout_toRightOf="@id/date" 65 android:paddingLeft="8dp" 66 android:paddingRight="8dp" 67 android:src="@drawable/ic_notify_quicksettings" 68 android:contentDescription="@string/accessibility_settings_button" 69 /> 70 71 <ImageView android:id="@+id/clear_all_button" 72 android:layout_width="wrap_content" 73 android:layout_height="match_parent" 74 android:layout_alignParentRight="true" 75 android:paddingLeft="8dp" 76 android:paddingRight="8dp" 77 android:src="@drawable/ic_notify_clear" 78 android:contentDescription="@string/accessibility_clear_all" 79 /> 80 </RelativeLayout> 81 82 <View 83 android:layout_width="match_parent" 84 android:layout_height="2dp" 85 android:background="@drawable/status_bar_hr" 86 /> 87 88 <FrameLayout 89 android:layout_width="match_parent" 90 android:layout_height="wrap_content" 91 android:layout_weight="1" 92 > 93 <TextView android:id="@+id/noNotificationsTitle" 94 android:layout_width="match_parent" 95 android:layout_height="wrap_content" 96 android:textAppearance="@android:style/TextAppearance.Large" 97 android:padding="8dp" 98 android:layout_gravity="top" 99 android:gravity="left" 100 android:text="@string/status_bar_no_notifications_title" 101 /> 102 103 <ScrollView 104 android:id="@+id/scroll" 105 android:layout_width="match_parent" 106 android:layout_height="match_parent" 107 android:fadingEdge="none" 108 android:overScrollMode="ifContentScrolls" 109 > 110 <LinearLayout 111 android:layout_width="match_parent" 112 android:layout_height="wrap_content" 113 android:orientation="vertical" 114 > 115 <com.android.systemui.statusbar.policy.NotificationRowLayout 116 android:id="@+id/latestItems" 117 android:layout_width="match_parent" 118 android:layout_height="wrap_content" 119 systemui:rowHeight="@dimen/notification_height" 120 /> 121 122 </LinearLayout> 123 </ScrollView> 124 125 <ImageView 126 android:layout_width="match_parent" 127 android:layout_height="match_parent" 128 android:src="@drawable/title_bar_shadow" 129 android:scaleType="fitXY" 130 /> 131 132 </FrameLayout> 133 </com.android.systemui.statusbar.phone.ExpandedView> 134