blob: 0f5aa93534bd0a0e332af4347074ac9cdb56cbb5 [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 Sandler87937db2010-05-27 13:44:11 -040025 android:background="@drawable/status_bar_background"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080026 android:orientation="vertical"
27 android:focusable="true"
28 android:descendantFocusability="afterDescendants"
29 >
30
31 <LinearLayout android:id="@+id/icons"
Romain Guy980a9382010-01-08 15:06:28 -080032 android:layout_width="match_parent"
33 android:layout_height="match_parent"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080034 android:orientation="horizontal">
35
Joe Onoratofd52b182010-11-10 18:00:52 -080036 <com.android.systemui.statusbar.phone.IconMerger android:id="@+id/notificationIcons"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080037 android:layout_width="0dip"
38 android:layout_weight="1"
Romain Guy980a9382010-01-08 15:06:28 -080039 android:layout_height="match_parent"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080040 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 Guy980a9382010-01-08 15:06:28 -080047 android:layout_height="match_parent"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080048 android:layout_alignParentRight="true"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080049 android:gravity="center_vertical"
50 android:orientation="horizontal"/>
Joe Onorato263700d2010-05-14 11:54:53 -070051
Daniel Sandler2b697352011-07-22 16:23:09 -040052 <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 Onoratofd52b182010-11-10 18:00:52 -080072 <com.android.systemui.statusbar.policy.Clock
Daniel Sandler87937db2010-05-27 13:44:11 -040073 android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon"
Joe Onorato263700d2010-05-14 11:54:53 -070074 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 Onorato263700d2010-05-14 11:54:53 -070081 />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080082 </LinearLayout>
83
84 <LinearLayout android:id="@+id/ticker"
Romain Guy980a9382010-01-08 15:06:28 -080085 android:layout_width="match_parent"
86 android:layout_height="match_parent"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080087 android:paddingLeft="6dip"
88 android:animationCache="false"
89 android:orientation="horizontal" >
90 <ImageSwitcher android:id="@+id/tickerIcon"
91 android:layout_width="wrap_content"
Romain Guy980a9382010-01-08 15:06:28 -080092 android:layout_height="match_parent"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080093 android:layout_marginRight="8dip"
94 >
Joe Onorato79de0c52010-05-26 17:03:26 -040095 <com.android.systemui.statusbar.AnimatedImageView
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080096 android:layout_width="25dip"
97 android:layout_height="25dip"
98 />
Joe Onorato79de0c52010-05-26 17:03:26 -040099 <com.android.systemui.statusbar.AnimatedImageView
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800100 android:layout_width="25dip"
101 android:layout_height="25dip"
102 />
103 </ImageSwitcher>
Joe Onoratofd52b182010-11-10 18:00:52 -0800104 <com.android.systemui.statusbar.phone.TickerView android:id="@+id/tickerText"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800105 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 Onorato5ee67eb2010-05-25 19:42:38 -0400111 android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker"
Romain Guy980a9382010-01-08 15:06:28 -0800112 android:layout_width="match_parent"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800113 android:layout_height="wrap_content"
114 android:singleLine="true"
Daniel Sandler2c195f72010-05-21 15:42:06 -0400115 />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800116 <TextView
Joe Onorato5ee67eb2010-05-25 19:42:38 -0400117 android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker"
Romain Guy980a9382010-01-08 15:06:28 -0800118 android:layout_width="match_parent"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800119 android:layout_height="wrap_content"
120 android:singleLine="true"
Daniel Sandler2c195f72010-05-21 15:42:06 -0400121 />
Joe Onoratofd52b182010-11-10 18:00:52 -0800122 </com.android.systemui.statusbar.phone.TickerView>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800123 </LinearLayout>
124
Joe Onoratofd52b182010-11-10 18:00:52 -0800125 <com.android.systemui.statusbar.policy.DateView android:id="@+id/date"
Joe Onorato5ee67eb2010-05-25 19:42:38 -0400126 android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800127 android:layout_width="wrap_content"
Romain Guy980a9382010-01-08 15:06:28 -0800128 android:layout_height="match_parent"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800129 android:singleLine="true"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800130 android:gravity="center_vertical|left"
131 android:paddingLeft="6px"
132 android:paddingRight="6px"
Daniel Sandler87937db2010-05-27 13:44:11 -0400133 android:background="@drawable/status_bar_background"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800134 />
Joe Onoratofd52b182010-11-10 18:00:52 -0800135</com.android.systemui.statusbar.phone.PhoneStatusBarView>