blob: c8f577219b5a35eb3e7d73b71ffc73d0848b6bc2 [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"
49 android:paddingRight="6dip"
50 android:gravity="center_vertical"
51 android:orientation="horizontal"/>
Joe Onorato263700d2010-05-14 11:54:53 -070052
Joe Onoratofd52b182010-11-10 18:00:52 -080053 <com.android.systemui.statusbar.policy.Clock
Daniel Sandler87937db2010-05-27 13:44:11 -040054 android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon"
Joe Onorato263700d2010-05-14 11:54:53 -070055 android:layout_width="wrap_content"
56 android:layout_height="match_parent"
57 android:singleLine="true"
58 android:paddingRight="6dip"
59 android:textSize="16sp"
60 android:textStyle="bold"
61 android:gravity="center_vertical|left"
Joe Onorato263700d2010-05-14 11:54:53 -070062 />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080063 </LinearLayout>
64
65 <LinearLayout android:id="@+id/ticker"
Romain Guy980a9382010-01-08 15:06:28 -080066 android:layout_width="match_parent"
67 android:layout_height="match_parent"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080068 android:paddingLeft="6dip"
69 android:animationCache="false"
70 android:orientation="horizontal" >
71 <ImageSwitcher android:id="@+id/tickerIcon"
72 android:layout_width="wrap_content"
Romain Guy980a9382010-01-08 15:06:28 -080073 android:layout_height="match_parent"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080074 android:layout_marginRight="8dip"
75 >
Joe Onorato79de0c52010-05-26 17:03:26 -040076 <com.android.systemui.statusbar.AnimatedImageView
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080077 android:layout_width="25dip"
78 android:layout_height="25dip"
79 />
Joe Onorato79de0c52010-05-26 17:03:26 -040080 <com.android.systemui.statusbar.AnimatedImageView
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080081 android:layout_width="25dip"
82 android:layout_height="25dip"
83 />
84 </ImageSwitcher>
Joe Onoratofd52b182010-11-10 18:00:52 -080085 <com.android.systemui.statusbar.phone.TickerView android:id="@+id/tickerText"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080086 android:layout_width="0dip"
87 android:layout_weight="1"
88 android:layout_height="wrap_content"
89 android:paddingTop="2dip"
90 android:paddingRight="10dip">
91 <TextView
Joe Onorato5ee67eb2010-05-25 19:42:38 -040092 android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker"
Romain Guy980a9382010-01-08 15:06:28 -080093 android:layout_width="match_parent"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080094 android:layout_height="wrap_content"
95 android:singleLine="true"
Daniel Sandler2c195f72010-05-21 15:42:06 -040096 />
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080097 <TextView
Joe Onorato5ee67eb2010-05-25 19:42:38 -040098 android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker"
Romain Guy980a9382010-01-08 15:06:28 -080099 android:layout_width="match_parent"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800100 android:layout_height="wrap_content"
101 android:singleLine="true"
Daniel Sandler2c195f72010-05-21 15:42:06 -0400102 />
Joe Onoratofd52b182010-11-10 18:00:52 -0800103 </com.android.systemui.statusbar.phone.TickerView>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800104 </LinearLayout>
105
Joe Onoratofd52b182010-11-10 18:00:52 -0800106 <com.android.systemui.statusbar.policy.DateView android:id="@+id/date"
Joe Onorato5ee67eb2010-05-25 19:42:38 -0400107 android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800108 android:layout_width="wrap_content"
Romain Guy980a9382010-01-08 15:06:28 -0800109 android:layout_height="match_parent"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800110 android:singleLine="true"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800111 android:gravity="center_vertical|left"
112 android:paddingLeft="6px"
113 android:paddingRight="6px"
Daniel Sandler87937db2010-05-27 13:44:11 -0400114 android:background="@drawable/status_bar_background"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800115 />
Joe Onoratofd52b182010-11-10 18:00:52 -0800116</com.android.systemui.statusbar.phone.PhoneStatusBarView>