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 <!-- android:background="@drawable/status_bar_closed_default_background" --> 22 <com.android.systemui.statusbar.phone.PhoneStatusBarView 23 xmlns:android="http://schemas.android.com/apk/res/android" 24 xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" 25 android:id="@+id/status_bar" 26 android:background="@drawable/status_bar_background" 27 android:orientation="vertical" 28 android:focusable="true" 29 android:descendantFocusability="afterDescendants" 30 android:fitsSystemWindows="true" 31 > 32 33 <ImageView 34 android:id="@+id/notification_lights_out" 35 android:layout_width="@dimen/status_bar_icon_size" 36 android:layout_height="match_parent" 37 android:paddingLeft="6dip" 38 android:paddingBottom="2dip" 39 android:src="@drawable/ic_sysbar_lights_out_dot_small" 40 android:scaleType="center" 41 android:visibility="gone" 42 /> 43 44 <LinearLayout android:id="@+id/status_bar_contents" 45 android:layout_width="match_parent" 46 android:layout_height="match_parent" 47 android:paddingLeft="6dip" 48 android:paddingRight="6dip" 49 android:orientation="horizontal" 50 > 51 52 <LinearLayout 53 android:id="@+id/notification_icon_area" 54 android:layout_width="0dip" 55 android:layout_height="match_parent" 56 android:layout_weight="1" 57 android:orientation="horizontal" 58 > 59 <com.android.systemui.statusbar.StatusBarIconView android:id="@+id/moreIcon" 60 android:layout_width="@dimen/status_bar_icon_size" 61 android:layout_height="match_parent" 62 android:src="@drawable/stat_notify_more" 63 android:visibility="gone" 64 /> 65 66 <com.android.systemui.statusbar.phone.IconMerger android:id="@+id/notificationIcons" 67 android:layout_width="match_parent" 68 android:layout_height="match_parent" 69 android:layout_alignParentLeft="true" 70 android:gravity="center_vertical" 71 android:orientation="horizontal"/> 72 </LinearLayout> 73 74 <LinearLayout android:id="@+id/system_icon_area" 75 android:layout_width="wrap_content" 76 android:layout_height="match_parent" 77 android:orientation="horizontal"> 78 79 <LinearLayout android:id="@+id/statusIcons" 80 android:layout_width="wrap_content" 81 android:layout_height="match_parent" 82 android:gravity="center_vertical" 83 android:orientation="horizontal"/> 84 85 <LinearLayout 86 android:id="@+id/signal_battery_cluster" 87 android:layout_width="wrap_content" 88 android:layout_height="match_parent" 89 android:paddingLeft="2dp" 90 android:orientation="horizontal" 91 android:gravity="center" 92 > 93 <include layout="@layout/signal_cluster_view" 94 android:id="@+id/signal_cluster" 95 android:layout_width="wrap_content" 96 android:layout_height="wrap_content" 97 /> 98 <ImageView 99 android:id="@+id/battery" 100 android:layout_height="wrap_content" 101 android:layout_width="wrap_content" 102 android:paddingLeft="4dip" 103 /> 104 </LinearLayout> 105 106 <com.android.systemui.statusbar.policy.Clock 107 android:id="@+id/clock" 108 android:textAppearance="@style/TextAppearance.StatusBar.Clock" 109 android:layout_width="wrap_content" 110 android:layout_height="match_parent" 111 android:singleLine="true" 112 android:paddingLeft="6dip" 113 android:gravity="center_vertical|left" 114 /> 115 </LinearLayout> 116 </LinearLayout> 117 118 <LinearLayout android:id="@+id/ticker" 119 android:layout_width="match_parent" 120 android:layout_height="match_parent" 121 android:paddingLeft="6dip" 122 android:animationCache="false" 123 android:orientation="horizontal" > 124 <ImageSwitcher android:id="@+id/tickerIcon" 125 android:layout_width="@dimen/status_bar_icon_size" 126 android:layout_height="@dimen/status_bar_icon_size" 127 android:layout_marginRight="4dip" 128 > 129 <com.android.systemui.statusbar.AnimatedImageView 130 android:layout_width="@dimen/status_bar_icon_size" 131 android:layout_height="@dimen/status_bar_icon_size" 132 android:scaleType="center" 133 /> 134 <com.android.systemui.statusbar.AnimatedImageView 135 android:layout_width="@dimen/status_bar_icon_size" 136 android:layout_height="@dimen/status_bar_icon_size" 137 android:scaleType="center" 138 /> 139 </ImageSwitcher> 140 <com.android.systemui.statusbar.phone.TickerView android:id="@+id/tickerText" 141 android:layout_width="0dip" 142 android:layout_weight="1" 143 android:layout_height="wrap_content" 144 android:paddingTop="2dip" 145 android:paddingRight="10dip"> 146 <TextView 147 android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" 148 android:layout_width="match_parent" 149 android:layout_height="wrap_content" 150 android:singleLine="true" 151 /> 152 <TextView 153 android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" 154 android:layout_width="match_parent" 155 android:layout_height="wrap_content" 156 android:singleLine="true" 157 /> 158 </com.android.systemui.statusbar.phone.TickerView> 159 </LinearLayout> 160 </com.android.systemui.statusbar.phone.PhoneStatusBarView> 161