| 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 | a310af8 | 2012-04-24 01:20:13 -0400 | [diff] [blame] | 25 | android:id="@+id/status_bar" |
| Daniel Sandler | 87937db | 2010-05-27 13:44:11 -0400 | [diff] [blame] | 26 | android:background="@drawable/status_bar_background" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 27 | android:orientation="vertical" |
| 28 | android:focusable="true" |
| 29 | android:descendantFocusability="afterDescendants" |
| Dianne Hackborn | 9801435 | 2012-04-05 18:31:41 -0700 | [diff] [blame] | 30 | android:fitsSystemWindows="true" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 31 | > |
| 32 | |
| Daniel Sandler | d7e9686 | 2012-04-26 01:10:29 -0400 | [diff] [blame] | 33 | <ImageView |
| 34 | android:id="@+id/notification_lights_out" |
| 35 | android:layout_width="@dimen/status_bar_icon_size" |
| 36 | android:layout_height="match_parent" |
| Fabrice Di Meglio | 02c40c2 | 2013-03-08 14:05:28 -0800 | [diff] [blame] | 37 | android:paddingStart="6dip" |
| Daniel Sandler | 173bae2 | 2012-09-25 14:37:42 -0400 | [diff] [blame] | 38 | android:paddingBottom="2dip" |
| Daniel Sandler | d7e9686 | 2012-04-26 01:10:29 -0400 | [diff] [blame] | 39 | android:src="@drawable/ic_sysbar_lights_out_dot_small" |
| 40 | android:scaleType="center" |
| 41 | android:visibility="gone" |
| 42 | /> |
| 43 | |
| Daniel Sandler | 173bae2 | 2012-09-25 14:37:42 -0400 | [diff] [blame] | 44 | <LinearLayout android:id="@+id/status_bar_contents" |
| Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 45 | android:layout_width="match_parent" |
| 46 | android:layout_height="match_parent" |
| Fabrice Di Meglio | 02c40c2 | 2013-03-08 14:05:28 -0800 | [diff] [blame] | 47 | android:paddingStart="6dip" |
| 48 | android:paddingEnd="6dip" |
| Daniel Sandler | 05e2414 | 2011-11-10 11:56:49 -0500 | [diff] [blame] | 49 | android:orientation="horizontal" |
| 50 | > |
| 51 | |
| 52 | <LinearLayout |
| Daniel Sandler | 173bae2 | 2012-09-25 14:37:42 -0400 | [diff] [blame] | 53 | android:id="@+id/notification_icon_area" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 54 | android:layout_width="0dip" |
| Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 55 | android:layout_height="match_parent" |
| Daniel Sandler | 05e2414 | 2011-11-10 11:56:49 -0500 | [diff] [blame] | 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" |
| Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 69 | android:layout_alignParentStart="true" |
| Daniel Sandler | 05e2414 | 2011-11-10 11:56:49 -0500 | [diff] [blame] | 70 | android:gravity="center_vertical" |
| 71 | android:orientation="horizontal"/> |
| 72 | </LinearLayout> |
| 73 | |
| Daniel Sandler | 173bae2 | 2012-09-25 14:37:42 -0400 | [diff] [blame] | 74 | <LinearLayout android:id="@+id/system_icon_area" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 75 | android:layout_width="wrap_content" |
| Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 76 | android:layout_height="match_parent" |
| Daniel Sandler | 173bae2 | 2012-09-25 14:37:42 -0400 | [diff] [blame] | 77 | android:orientation="horizontal"> |
| Joe Onorato | 263700d | 2010-05-14 11:54:53 -0700 | [diff] [blame] | 78 | |
| Daniel Sandler | 173bae2 | 2012-09-25 14:37:42 -0400 | [diff] [blame] | 79 | <LinearLayout android:id="@+id/statusIcons" |
| Christian Robertson | 2e34742 | 2011-08-11 14:01:04 -0700 | [diff] [blame] | 80 | android:layout_width="wrap_content" |
| Daniel Sandler | 173bae2 | 2012-09-25 14:37:42 -0400 | [diff] [blame] | 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" |
| Daniel Sandler | 2b69735 | 2011-07-22 16:23:09 -0400 | [diff] [blame] | 87 | android:layout_width="wrap_content" |
| Daniel Sandler | 173bae2 | 2012-09-25 14:37:42 -0400 | [diff] [blame] | 88 | android:layout_height="match_parent" |
| Fabrice Di Meglio | 02c40c2 | 2013-03-08 14:05:28 -0800 | [diff] [blame] | 89 | android:paddingStart="2dp" |
| Daniel Sandler | 173bae2 | 2012-09-25 14:37:42 -0400 | [diff] [blame] | 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" |
| Fabrice Di Meglio | 02c40c2 | 2013-03-08 14:05:28 -0800 | [diff] [blame] | 102 | android:paddingStart="4dip" |
| Daniel Sandler | 173bae2 | 2012-09-25 14:37:42 -0400 | [diff] [blame] | 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" |
| Fabrice Di Meglio | 02c40c2 | 2013-03-08 14:05:28 -0800 | [diff] [blame] | 112 | android:paddingStart="6dip" |
| Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 113 | android:gravity="center_vertical|start" |
| Daniel Sandler | 2b69735 | 2011-07-22 16:23:09 -0400 | [diff] [blame] | 114 | /> |
| 115 | </LinearLayout> |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 116 | </LinearLayout> |
| 117 | |
| 118 | <LinearLayout android:id="@+id/ticker" |
| Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 119 | android:layout_width="match_parent" |
| 120 | android:layout_height="match_parent" |
| Fabrice Di Meglio | 02c40c2 | 2013-03-08 14:05:28 -0800 | [diff] [blame] | 121 | android:paddingStart="6dip" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 122 | android:animationCache="false" |
| 123 | android:orientation="horizontal" > |
| 124 | <ImageSwitcher android:id="@+id/tickerIcon" |
| Daniel Sandler | 645e099 | 2011-10-13 16:29:57 -0400 | [diff] [blame] | 125 | android:layout_width="@dimen/status_bar_icon_size" |
| 126 | android:layout_height="@dimen/status_bar_icon_size" |
| Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 127 | android:layout_marginEnd="4dip" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 128 | > |
| Joe Onorato | 79de0c5 | 2010-05-26 17:03:26 -0400 | [diff] [blame] | 129 | <com.android.systemui.statusbar.AnimatedImageView |
| Daniel Sandler | 645e099 | 2011-10-13 16:29:57 -0400 | [diff] [blame] | 130 | android:layout_width="@dimen/status_bar_icon_size" |
| 131 | android:layout_height="@dimen/status_bar_icon_size" |
| 132 | android:scaleType="center" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 133 | /> |
| Joe Onorato | 79de0c5 | 2010-05-26 17:03:26 -0400 | [diff] [blame] | 134 | <com.android.systemui.statusbar.AnimatedImageView |
| Daniel Sandler | 645e099 | 2011-10-13 16:29:57 -0400 | [diff] [blame] | 135 | android:layout_width="@dimen/status_bar_icon_size" |
| 136 | android:layout_height="@dimen/status_bar_icon_size" |
| 137 | android:scaleType="center" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 138 | /> |
| 139 | </ImageSwitcher> |
| Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 140 | <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] | 141 | android:layout_width="0dip" |
| 142 | android:layout_weight="1" |
| 143 | android:layout_height="wrap_content" |
| 144 | android:paddingTop="2dip" |
| Fabrice Di Meglio | 02c40c2 | 2013-03-08 14:05:28 -0800 | [diff] [blame] | 145 | android:paddingEnd="10dip"> |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 146 | <TextView |
| Daniel Sandler | 57d74de | 2011-10-14 13:14:46 -0400 | [diff] [blame] | 147 | android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" |
| Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 148 | android:layout_width="match_parent" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 149 | android:layout_height="wrap_content" |
| 150 | android:singleLine="true" |
| Daniel Sandler | 2c195f7 | 2010-05-21 15:42:06 -0400 | [diff] [blame] | 151 | /> |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 152 | <TextView |
| Daniel Sandler | 57d74de | 2011-10-14 13:14:46 -0400 | [diff] [blame] | 153 | android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" |
| Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 154 | android:layout_width="match_parent" |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 155 | android:layout_height="wrap_content" |
| 156 | android:singleLine="true" |
| Daniel Sandler | 2c195f7 | 2010-05-21 15:42:06 -0400 | [diff] [blame] | 157 | /> |
| Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 158 | </com.android.systemui.statusbar.phone.TickerView> |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 159 | </LinearLayout> |
| Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 160 | </com.android.systemui.statusbar.phone.PhoneStatusBarView> |