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/system_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:paddingStart="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:paddingStart="6dip" 48 android:paddingEnd="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_alignParentStart="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:paddingStart="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 <!-- battery must be padded below to match assets --> 99 <com.android.systemui.BatteryMeterView 100 android:id="@+id/battery" 101 android:layout_height="16dp" 102 android:layout_width="10.5dp" 103 android:layout_marginBottom="0.33dp" 104 android:layout_marginStart="4dip" 105 /> 106 </LinearLayout> 107 108 <com.android.systemui.statusbar.policy.Clock 109 android:id="@+id/clock" 110 android:textAppearance="@style/TextAppearance.StatusBar.Clock" 111 android:layout_width="wrap_content" 112 android:layout_height="match_parent" 113 android:singleLine="true" 114 android:paddingStart="6dip" 115 android:gravity="center_vertical|start" 116 /> 117 </LinearLayout> 118 </LinearLayout> 119 120 <LinearLayout android:id="@+id/ticker" 121 android:layout_width="match_parent" 122 android:layout_height="match_parent" 123 android:paddingStart="6dip" 124 android:animationCache="false" 125 android:orientation="horizontal" > 126 <ImageSwitcher android:id="@+id/tickerIcon" 127 android:layout_width="@dimen/status_bar_icon_size" 128 android:layout_height="@dimen/status_bar_icon_size" 129 android:layout_marginEnd="4dip" 130 > 131 <com.android.systemui.statusbar.AnimatedImageView 132 android:layout_width="@dimen/status_bar_icon_size" 133 android:layout_height="@dimen/status_bar_icon_size" 134 android:scaleType="center" 135 /> 136 <com.android.systemui.statusbar.AnimatedImageView 137 android:layout_width="@dimen/status_bar_icon_size" 138 android:layout_height="@dimen/status_bar_icon_size" 139 android:scaleType="center" 140 /> 141 </ImageSwitcher> 142 <com.android.systemui.statusbar.phone.TickerView android:id="@+id/tickerText" 143 android:layout_width="0dip" 144 android:layout_weight="1" 145 android:layout_height="wrap_content" 146 android:paddingTop="2dip" 147 android:paddingEnd="10dip"> 148 <TextView 149 android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" 150 android:layout_width="match_parent" 151 android:layout_height="wrap_content" 152 android:singleLine="true" 153 /> 154 <TextView 155 android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" 156 android:layout_width="match_parent" 157 android:layout_height="wrap_content" 158 android:singleLine="true" 159 /> 160 </com.android.systemui.statusbar.phone.TickerView> 161 </LinearLayout> 162</com.android.systemui.statusbar.phone.PhoneStatusBarView> 163