status_bar_expanded.xml revision 0761e4cd95b6968dd4b1659a766ef504d13f6d50
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="55dp" 32 android:paddingTop="3dp" 33 android:paddingBottom="5dp" 34 android:paddingRight="3dp" 35 > 36 <com.android.systemui.statusbar.policy.DateView android:id="@+id/date" 37 android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title" 38 android:textColor="@android:color/holo_blue_bright" 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 <ImageView android:id="@+id/settings_button" 61 android:layout_width="wrap_content" 62 android:layout_height="match_parent" 63 android:layout_toRightOf="@id/date" 64 android:paddingLeft="16dp" 65 android:paddingRight="16dp" 66 android:src="@drawable/ic_sysbar_quicksettings" 67 /> 68 <ImageView android:id="@+id/clear_all_button" 69 android:layout_width="wrap_content" 70 android:layout_height="match_parent" 71 android:layout_alignParentRight="true" 72 android:paddingLeft="16dp" 73 android:paddingRight="16dp" 74 android:src="@drawable/ic_notify_clear" 75 /> 76 </RelativeLayout> 77 78 <View 79 android:layout_width="match_parent" 80 android:layout_height="3dp" 81 android:background="@drawable/status_bar_hr" 82 /> 83 84 <FrameLayout 85 android:layout_width="match_parent" 86 android:layout_height="wrap_content" 87 android:layout_weight="1" 88 > 89 <TextView android:id="@+id/noNotificationsTitle" 90 android:layout_width="match_parent" 91 android:layout_height="wrap_content" 92 android:textAppearance="@android:style/TextAppearance.Large" 93 android:padding="8dp" 94 android:layout_gravity="top" 95 android:gravity="center" 96 android:text="@string/status_bar_no_notifications_title" 97 /> 98 99 <ScrollView 100 android:id="@+id/scroll" 101 android:layout_width="match_parent" 102 android:layout_height="match_parent" 103 android:fadingEdge="none" 104 android:overScrollMode="ifContentScrolls" 105 > 106 <com.android.systemui.statusbar.policy.NotificationRowLayout 107 android:id="@+id/latestItems" 108 android:layout_width="match_parent" 109 android:layout_height="wrap_content" 110 systemui:rowHeight="@dimen/notification_height" 111 /> 112 </ScrollView> 113 114 <ImageView 115 android:layout_width="match_parent" 116 android:layout_height="match_parent" 117 android:src="@drawable/title_bar_shadow" 118 android:scaleType="fitXY" 119 /> 120 121 </FrameLayout> 122</com.android.systemui.statusbar.phone.ExpandedView> 123