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