Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 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" --> |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 22 | <RelativeLayout |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 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" |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 26 | android:focusable="true" |
| 27 | android:descendantFocusability="afterDescendants" |
| 28 | > |
| 29 | |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 30 | <com.android.systemui.statusbar.tablet.NotificationIconArea |
| 31 | android:id="@+id/notificationIcons" |
| 32 | android:layout_width="wrap_content" |
| 33 | android:layout_height="match_parent" |
| 34 | android:layout_alignParentLeft="true" |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 35 | android:paddingLeft="6dip" |
| 36 | android:gravity="center_vertical" |
| 37 | android:orientation="horizontal" |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 38 | android:clickable="true" |
| 39 | android:onClick="notificationIconsClicked" |
| 40 | android:background="@drawable/status_bar_icon_tray" |
Daniel Sandler | 3a04ef0 | 2010-07-15 16:35:29 -0400 | [diff] [blame] | 41 | > |
| 42 | <view |
| 43 | class="com.android.systemui.statusbar.tablet.NotificationIconArea$MoreView" |
| 44 | android:id="@+id/more" |
| 45 | android:layout_width="wrap_content" |
| 46 | android:layout_height="match_parent" |
| 47 | android:src="@drawable/stat_notify_more" |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 48 | android:layout_marginLeft="10dip" |
Daniel Sandler | 3a04ef0 | 2010-07-15 16:35:29 -0400 | [diff] [blame] | 49 | /> |
| 50 | <view |
| 51 | class="com.android.systemui.statusbar.tablet.NotificationIconArea$IconLayout" |
| 52 | android:id="@+id/icons" |
| 53 | android:layout_width="wrap_content" |
Daniel Sandler | 3eebd1f | 2010-07-27 08:39:33 -0400 | [diff] [blame] | 54 | android:layout_height="@*android:dimen/status_bar_icon_size" |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 55 | android:layout_marginLeft="8dip" |
Daniel Sandler | 3a04ef0 | 2010-07-15 16:35:29 -0400 | [diff] [blame] | 56 | /> |
| 57 | <view |
| 58 | class="com.android.systemui.statusbar.tablet.NotificationIconArea$DraggerView" |
| 59 | android:id="@+id/handle" |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 60 | android:layout_width="24dip" |
Daniel Sandler | 3a04ef0 | 2010-07-15 16:35:29 -0400 | [diff] [blame] | 61 | android:layout_height="match_parent" |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 62 | android:layout_marginLeft="8dip" |
Daniel Sandler | 3a04ef0 | 2010-07-15 16:35:29 -0400 | [diff] [blame] | 63 | /> |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 64 | |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 65 | </com.android.systemui.statusbar.tablet.NotificationIconArea> |
| 66 | |
| 67 | <RelativeLayout android:id="@+id/systemInfo" |
| 68 | android:layout_width="200dip" |
| 69 | android:layout_height="match_parent" |
| 70 | android:layout_centerHorizontal="true" |
| 71 | android:clickable="true" |
| 72 | android:onClick="systemInfoClicked" |
| 73 | > |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 74 | <com.android.systemui.statusbar.Clock |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 75 | android:id="@+id/clock" |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 76 | android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" |
| 77 | android:layout_width="wrap_content" |
| 78 | android:layout_height="wrap_content" |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 79 | android:layout_centerInParent="true" |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 80 | android:singleLine="true" |
| 81 | android:textSize="16sp" |
| 82 | android:textStyle="bold" |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 83 | android:padding="6dip" |
| 84 | /> |
| 85 | <ImageView |
| 86 | android:layout_width="wrap_content" |
| 87 | android:layout_height="wrap_content" |
| 88 | android:layout_toLeftOf="@id/clock" |
| 89 | android:layout_centerVertical="true" |
| 90 | android:src="@drawable/dots_empty" |
| 91 | /> |
| 92 | <ImageView |
| 93 | android:layout_width="wrap_content" |
| 94 | android:layout_height="wrap_content" |
| 95 | android:layout_toRightOf="@id/clock" |
| 96 | android:layout_centerVertical="true" |
| 97 | android:src="@drawable/dots_full" |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 98 | /> |
| 99 | </RelativeLayout> |
| 100 | |
| 101 | <com.android.systemui.statusbar.KeyButtonView android:id="@+id/back" |
| 102 | android:layout_width="wrap_content" |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 103 | android:layout_height="match_parent" |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 104 | android:layout_toLeftOf="@+id/menu" |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 105 | android:paddingLeft="4dip" |
| 106 | android:paddingRight="4dip" |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 107 | android:src="@drawable/status_bar_back" |
| 108 | systemui:keyCode="4" |
| 109 | /> |
| 110 | <com.android.systemui.statusbar.KeyButtonView android:id="@+id/menu" |
| 111 | android:layout_width="wrap_content" |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 112 | android:layout_height="match_parent" |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 113 | android:layout_toLeftOf="@+id/home" |
| 114 | android:src="@drawable/status_bar_menu" |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 115 | android:paddingLeft="4dip" |
| 116 | android:paddingRight="4dip" |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 117 | systemui:keyCode="82" |
| 118 | /> |
| 119 | <com.android.systemui.statusbar.KeyButtonView android:id="@+id/home" |
| 120 | android:layout_width="wrap_content" |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 121 | android:layout_height="match_parent" |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 122 | android:layout_alignParentRight="true" |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 123 | android:paddingLeft="4dip" |
| 124 | android:paddingRight="4dip" |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 125 | android:src="@drawable/status_bar_home" |
| 126 | systemui:keyCode="3" |
| 127 | /> |
| 128 | |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 129 | <!-- |
| 130 | |
| 131 | <LinearLayout android:id="@+id/ticker" |
| 132 | android:layout_width="match_parent" |
| 133 | android:layout_height="match_parent" |
| 134 | android:paddingLeft="6dip" |
| 135 | android:animationCache="false" |
| 136 | android:orientation="horizontal" > |
| 137 | <ImageSwitcher android:id="@+id/tickerIcon" |
| 138 | android:layout_width="wrap_content" |
| 139 | android:layout_height="match_parent" |
| 140 | android:layout_marginRight="8dip" |
| 141 | > |
| 142 | <com.android.systemui.statusbar.AnimatedImageView |
| 143 | android:layout_width="25dip" |
| 144 | android:layout_height="25dip" |
| 145 | /> |
| 146 | <com.android.systemui.statusbar.AnimatedImageView |
| 147 | android:layout_width="25dip" |
| 148 | android:layout_height="25dip" |
| 149 | /> |
| 150 | </ImageSwitcher> |
| 151 | <com.android.systemui.statusbar.TickerView android:id="@+id/tickerText" |
| 152 | android:layout_width="0dip" |
| 153 | android:layout_weight="1" |
| 154 | android:layout_height="wrap_content" |
| 155 | android:paddingTop="2dip" |
| 156 | android:paddingRight="10dip"> |
| 157 | <TextView |
| 158 | android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker" |
| 159 | android:layout_width="match_parent" |
| 160 | android:layout_height="wrap_content" |
| 161 | android:singleLine="true" |
| 162 | /> |
| 163 | <TextView |
| 164 | android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker" |
| 165 | android:layout_width="match_parent" |
| 166 | android:layout_height="wrap_content" |
| 167 | android:singleLine="true" |
| 168 | /> |
| 169 | </com.android.systemui.statusbar.TickerView> |
| 170 | </LinearLayout> |
| 171 | |
| 172 | <com.android.systemui.statusbar.DateView android:id="@+id/date" |
| 173 | android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" |
| 174 | android:layout_width="wrap_content" |
| 175 | android:layout_height="match_parent" |
| 176 | android:singleLine="true" |
| 177 | android:gravity="center_vertical|left" |
| 178 | android:paddingLeft="6px" |
| 179 | android:paddingRight="6px" |
| 180 | android:background="@drawable/status_bar_background" |
| 181 | /> |
| 182 | --> |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 183 | </RelativeLayout> |
Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 184 | |