blob: b27536d8d9aaa92be1899be6150423c042127810 [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001<?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 Onoratofd52b182010-11-10 18:00:52 -080022<com.android.systemui.statusbar.phone.PhoneStatusBarView
Joe Onorato5ee67eb2010-05-25 19:42:38 -040023 xmlns:android="http://schemas.android.com/apk/res/android"
Joe Onorato52c1dc22010-07-01 16:39:39 -040024 xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
Daniel Sandlera310af82012-04-24 01:20:13 -040025 android:id="@+id/status_bar"
Daniel Sandler87937db2010-05-27 13:44:11 -040026 android:background="@drawable/status_bar_background"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080027 android:orientation="vertical"
28 android:focusable="true"
29 android:descendantFocusability="afterDescendants"
Dianne Hackborn98014352012-04-05 18:31:41 -070030 android:fitsSystemWindows="true"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080031 >
32
Daniel Sandlerd7e96862012-04-26 01:10:29 -040033 <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 Meglio02c40c22013-03-08 14:05:28 -080037 android:paddingStart="6dip"
Daniel Sandler173bae22012-09-25 14:37:42 -040038 android:paddingBottom="2dip"
Daniel Sandlerd7e96862012-04-26 01:10:29 -040039 android:src="@drawable/ic_sysbar_lights_out_dot_small"
40 android:scaleType="center"
41 android:visibility="gone"
42 />
43
Daniel Sandler173bae22012-09-25 14:37:42 -040044 <LinearLayout android:id="@+id/status_bar_contents"
Romain Guy980a9382010-01-08 15:06:28 -080045 android:layout_width="match_parent"
46 android:layout_height="match_parent"
Fabrice Di Meglio02c40c22013-03-08 14:05:28 -080047 android:paddingStart="6dip"
48 android:paddingEnd="6dip"
Daniel Sandler05e24142011-11-10 11:56:49 -050049 android:orientation="horizontal"
50 >
51
52 <LinearLayout
Daniel Sandler173bae22012-09-25 14:37:42 -040053 android:id="@+id/notification_icon_area"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080054 android:layout_width="0dip"
Romain Guy980a9382010-01-08 15:06:28 -080055 android:layout_height="match_parent"
Daniel Sandler05e24142011-11-10 11:56:49 -050056 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 Meglio8afcd142012-07-27 18:27:11 -070069 android:layout_alignParentStart="true"
Daniel Sandler05e24142011-11-10 11:56:49 -050070 android:gravity="center_vertical"
71 android:orientation="horizontal"/>
72 </LinearLayout>
73
Daniel Sandler173bae22012-09-25 14:37:42 -040074 <LinearLayout android:id="@+id/system_icon_area"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080075 android:layout_width="wrap_content"
Romain Guy980a9382010-01-08 15:06:28 -080076 android:layout_height="match_parent"
Daniel Sandler173bae22012-09-25 14:37:42 -040077 android:orientation="horizontal">
Joe Onorato263700d2010-05-14 11:54:53 -070078
Daniel Sandler173bae22012-09-25 14:37:42 -040079 <LinearLayout android:id="@+id/statusIcons"
Christian Robertson2e347422011-08-11 14:01:04 -070080 android:layout_width="wrap_content"
Daniel Sandler173bae22012-09-25 14:37:42 -040081 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 Sandler2b697352011-07-22 16:23:09 -040087 android:layout_width="wrap_content"
Daniel Sandler173bae22012-09-25 14:37:42 -040088 android:layout_height="match_parent"
Fabrice Di Meglio02c40c22013-03-08 14:05:28 -080089 android:paddingStart="2dp"
Daniel Sandler173bae22012-09-25 14:37:42 -040090 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 Meglio02c40c22013-03-08 14:05:28 -0800102 android:paddingStart="4dip"
Daniel Sandler173bae22012-09-25 14:37:42 -0400103 />
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 Meglio02c40c22013-03-08 14:05:28 -0800112 android:paddingStart="6dip"
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -0700113 android:gravity="center_vertical|start"
Daniel Sandler2b697352011-07-22 16:23:09 -0400114 />
115 </LinearLayout>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800116 </LinearLayout>
117
118 <LinearLayout android:id="@+id/ticker"
Romain Guy980a9382010-01-08 15:06:28 -0800119 android:layout_width="match_parent"
120 android:layout_height="match_parent"
Fabrice Di Meglio02c40c22013-03-08 14:05:28 -0800121 android:paddingStart="6dip"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800122 android:animationCache="false"
123 android:orientation="horizontal" >
124 <ImageSwitcher android:id="@+id/tickerIcon"
Daniel Sandler645e0992011-10-13 16:29:57 -0400125 android:layout_width="@dimen/status_bar_icon_size"
126 android:layout_height="@dimen/status_bar_icon_size"
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -0700127 android:layout_marginEnd="4dip"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800128 >
Joe Onorato79de0c52010-05-26 17:03:26 -0400129 <com.android.systemui.statusbar.AnimatedImageView
Daniel Sandler645e0992011-10-13 16:29:57 -0400130 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 Project9066cfe2009-03-03 19:31:44 -0800133 />
Joe Onorato79de0c52010-05-26 17:03:26 -0400134 <com.android.systemui.statusbar.AnimatedImageView
Daniel Sandler645e0992011-10-13 16:29:57 -0400135 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 Project9066cfe2009-03-03 19:31:44 -0800138 />
139 </ImageSwitcher>
Joe Onoratofd52b182010-11-10 18:00:52 -0800140 <com.android.systemui.statusbar.phone.TickerView android:id="@+id/tickerText"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800141 android:layout_width="0dip"
142 android:layout_weight="1"
143 android:layout_height="wrap_content"
144 android:paddingTop="2dip"
Fabrice Di Meglio02c40c22013-03-08 14:05:28 -0800145 android:paddingEnd="10dip">
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800146 <TextView
Daniel Sandler57d74de2011-10-14 13:14:46 -0400147 android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker"
Romain Guy980a9382010-01-08 15:06:28 -0800148 android:layout_width="match_parent"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800149 android:layout_height="wrap_content"
150 android:singleLine="true"
Daniel Sandler2c195f72010-05-21 15:42:06 -0400151 />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800152 <TextView
Daniel Sandler57d74de2011-10-14 13:14:46 -0400153 android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker"
Romain Guy980a9382010-01-08 15:06:28 -0800154 android:layout_width="match_parent"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800155 android:layout_height="wrap_content"
156 android:singleLine="true"
Daniel Sandler2c195f72010-05-21 15:42:06 -0400157 />
Joe Onoratofd52b182010-11-10 18:00:52 -0800158 </com.android.systemui.statusbar.phone.TickerView>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800159 </LinearLayout>
Joe Onoratofd52b182010-11-10 18:00:52 -0800160</com.android.systemui.statusbar.phone.PhoneStatusBarView>