| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [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" --> |
| Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 22 | <com.android.systemui.statusbar.phone.PhoneStatusBarView |
| Joe Onorato | 5ee67eb | 2010-05-25 19:42:38 -0400 | [diff] [blame] | 23 | xmlns:android="http://schemas.android.com/apk/res/android" |
| Joe Onorato | 52c1dc2 | 2010-07-01 16:39:39 -0400 | [diff] [blame] | 24 | xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" |
| Daniel Sandler | 87937db | 2010-05-27 13:44:11 -0400 | [diff] [blame] | 25 | android:background="@drawable/status_bar_background" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 26 | android:orientation="vertical" |
| 27 | android:focusable="true" |
| 28 | android:descendantFocusability="afterDescendants" |
| 29 | > |
| 30 | |
| 31 | <LinearLayout android:id="@+id/icons" |
| Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 32 | android:layout_width="match_parent" |
| 33 | android:layout_height="match_parent" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 34 | android:orientation="horizontal"> |
| 35 | |
| Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 36 | <com.android.systemui.statusbar.phone.IconMerger android:id="@+id/notificationIcons" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 37 | android:layout_width="0dip" |
| 38 | android:layout_weight="1" |
| Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 39 | android:layout_height="match_parent" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 40 | android:layout_alignParentLeft="true" |
| 41 | android:paddingLeft="6dip" |
| 42 | android:gravity="center_vertical" |
| 43 | android:orientation="horizontal"/> |
| 44 | |
| 45 | <LinearLayout android:id="@+id/statusIcons" |
| 46 | android:layout_width="wrap_content" |
| Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 47 | android:layout_height="match_parent" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 48 | android:layout_alignParentRight="true" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 49 | android:gravity="center_vertical" |
| 50 | android:orientation="horizontal"/> |
| Joe Onorato | 263700d | 2010-05-14 11:54:53 -0700 | [diff] [blame] | 51 | |
| Daniel Sandler | 2b69735 | 2011-07-22 16:23:09 -0400 | [diff] [blame] | 52 | <LinearLayout |
| 53 | android:id="@+id/signal_battery_cluster" |
| 54 | android:layout_width="wrap_content" |
| 55 | android:layout_height="match_parent" |
| 56 | android:layout_marginRight="6dp" |
| 57 | android:orientation="horizontal" |
| 58 | android:gravity="center" |
| 59 | > |
| 60 | <include layout="@layout/stacked_signal_icons" |
| 61 | android:layout_width="24dp" |
| 62 | android:layout_height="match_parent" |
| 63 | /> |
| 64 | <ImageView |
| 65 | android:id="@+id/battery" |
| 66 | android:layout_height="wrap_content" |
| 67 | android:layout_width="wrap_content" |
| 68 | android:paddingLeft="6dip" |
| 69 | /> |
| 70 | </LinearLayout> |
| 71 | |
| Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 72 | <com.android.systemui.statusbar.policy.Clock |
| Daniel Sandler | 87937db | 2010-05-27 13:44:11 -0400 | [diff] [blame] | 73 | android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" |
| Joe Onorato | 263700d | 2010-05-14 11:54:53 -0700 | [diff] [blame] | 74 | android:layout_width="wrap_content" |
| 75 | android:layout_height="match_parent" |
| 76 | android:singleLine="true" |
| 77 | android:paddingRight="6dip" |
| 78 | android:textSize="16sp" |
| 79 | android:textStyle="bold" |
| 80 | android:gravity="center_vertical|left" |
| Joe Onorato | 263700d | 2010-05-14 11:54:53 -0700 | [diff] [blame] | 81 | /> |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 82 | </LinearLayout> |
| 83 | |
| 84 | <LinearLayout android:id="@+id/ticker" |
| Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 85 | android:layout_width="match_parent" |
| 86 | android:layout_height="match_parent" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 87 | android:paddingLeft="6dip" |
| 88 | android:animationCache="false" |
| 89 | android:orientation="horizontal" > |
| 90 | <ImageSwitcher android:id="@+id/tickerIcon" |
| 91 | android:layout_width="wrap_content" |
| Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 92 | android:layout_height="match_parent" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 93 | android:layout_marginRight="8dip" |
| 94 | > |
| Joe Onorato | 79de0c5 | 2010-05-26 17:03:26 -0400 | [diff] [blame] | 95 | <com.android.systemui.statusbar.AnimatedImageView |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 96 | android:layout_width="25dip" |
| 97 | android:layout_height="25dip" |
| 98 | /> |
| Joe Onorato | 79de0c5 | 2010-05-26 17:03:26 -0400 | [diff] [blame] | 99 | <com.android.systemui.statusbar.AnimatedImageView |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 100 | android:layout_width="25dip" |
| 101 | android:layout_height="25dip" |
| 102 | /> |
| 103 | </ImageSwitcher> |
| Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 104 | <com.android.systemui.statusbar.phone.TickerView android:id="@+id/tickerText" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 105 | android:layout_width="0dip" |
| 106 | android:layout_weight="1" |
| 107 | android:layout_height="wrap_content" |
| 108 | android:paddingTop="2dip" |
| 109 | android:paddingRight="10dip"> |
| 110 | <TextView |
| Joe Onorato | 5ee67eb | 2010-05-25 19:42:38 -0400 | [diff] [blame] | 111 | android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker" |
| Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 112 | android:layout_width="match_parent" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 113 | android:layout_height="wrap_content" |
| 114 | android:singleLine="true" |
| Daniel Sandler | 2c195f7 | 2010-05-21 15:42:06 -0400 | [diff] [blame] | 115 | /> |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 116 | <TextView |
| Joe Onorato | 5ee67eb | 2010-05-25 19:42:38 -0400 | [diff] [blame] | 117 | android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker" |
| Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 118 | android:layout_width="match_parent" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 119 | android:layout_height="wrap_content" |
| 120 | android:singleLine="true" |
| Daniel Sandler | 2c195f7 | 2010-05-21 15:42:06 -0400 | [diff] [blame] | 121 | /> |
| Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 122 | </com.android.systemui.statusbar.phone.TickerView> |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 123 | </LinearLayout> |
| 124 | |
| Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 125 | <com.android.systemui.statusbar.policy.DateView android:id="@+id/date" |
| Joe Onorato | 5ee67eb | 2010-05-25 19:42:38 -0400 | [diff] [blame] | 126 | android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 127 | android:layout_width="wrap_content" |
| Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 128 | android:layout_height="match_parent" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 129 | android:singleLine="true" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 130 | android:gravity="center_vertical|left" |
| 131 | android:paddingLeft="6px" |
| 132 | android:paddingRight="6px" |
| Daniel Sandler | 87937db | 2010-05-27 13:44:11 -0400 | [diff] [blame] | 133 | android:background="@drawable/status_bar_background" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 134 | /> |
| Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 135 | </com.android.systemui.statusbar.phone.PhoneStatusBarView> |