blob: bea9f788ee57cfddccabd45cf23713add533f07d [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003**
4** Copyright 2006, The Android Open Source Project
5**
6** Licensed under the Apache License, Version 2.0 (the "License");
7** you may not use this file except in compliance with the License.
8** You may obtain a copy of the License at
9**
10** http://www.apache.org/licenses/LICENSE-2.0
11**
12** Unless required by applicable law or agreed to in writing, software
13** distributed under the License is distributed on an "AS IS" BASIS,
14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15** See the License for the specific language governing permissions and
16** limitations under the License.
17*/
18-->
19
20<!-- android:background="@drawable/status_bar_closed_default_background" -->
Joe Onoratofd52b182010-11-10 18:00:52 -080021<com.android.systemui.statusbar.phone.PhoneStatusBarView
Joe Onorato5ee67eb2010-05-25 19:42:38 -040022 xmlns:android="http://schemas.android.com/apk/res/android"
Joe Onorato52c1dc22010-07-01 16:39:39 -040023 xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
Daniel Sandlera310af82012-04-24 01:20:13 -040024 android:id="@+id/status_bar"
John Spurlocke631b412013-09-18 16:33:57 -040025 android:background="@drawable/system_bar_background"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080026 android:orientation="vertical"
Julia Reynolds6819b9a2015-07-16 12:18:43 -040027 android:focusable="false"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080028 android:descendantFocusability="afterDescendants"
29 >
30
Daniel Sandlerd7e96862012-04-26 01:10:29 -040031 <ImageView
32 android:id="@+id/notification_lights_out"
33 android:layout_width="@dimen/status_bar_icon_size"
34 android:layout_height="match_parent"
Fabrice Di Meglio02c40c22013-03-08 14:05:28 -080035 android:paddingStart="6dip"
Daniel Sandler173bae22012-09-25 14:37:42 -040036 android:paddingBottom="2dip"
Daniel Sandlerd7e96862012-04-26 01:10:29 -040037 android:src="@drawable/ic_sysbar_lights_out_dot_small"
38 android:scaleType="center"
39 android:visibility="gone"
40 />
41
Daniel Sandler173bae22012-09-25 14:37:42 -040042 <LinearLayout android:id="@+id/status_bar_contents"
Romain Guy980a9382010-01-08 15:06:28 -080043 android:layout_width="match_parent"
44 android:layout_height="match_parent"
Jorim Jaggi5172dc22014-09-02 14:59:06 +020045 android:paddingStart="6dp"
46 android:paddingEnd="8dp"
Daniel Sandler05e24142011-11-10 11:56:49 -050047 android:orientation="horizontal"
48 >
49
Anthony Chen83092c62016-01-11 17:00:36 -080050 <!-- The alpha of this area is controlled from both PhoneStatusBarTransitions and
51 PhoneStatusBar (DISABLE_NOTIFICATION_ICONS). -->
Jorim Jaggi4649c8d2014-07-09 17:04:01 +020052 <com.android.systemui.statusbar.AlphaOptimizedFrameLayout
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"
Anthony Chen83092c62016-01-11 17:00:36 -080057 android:orientation="horizontal" />
Daniel Sandler05e24142011-11-10 11:56:49 -050058
Jorim Jaggie19b1ac2014-09-11 18:17:56 +020059 <com.android.keyguard.AlphaOptimizedLinearLayout android:id="@+id/system_icon_area"
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080060 android:layout_width="wrap_content"
Romain Guy980a9382010-01-08 15:06:28 -080061 android:layout_height="match_parent"
Jorim Jaggi0d74eeb2014-05-09 22:05:24 +020062 android:orientation="horizontal"
63 >
Jorim Jaggi0d74eeb2014-05-09 22:05:24 +020064
Jorim Jaggi4538027d2014-07-30 15:43:13 +020065 <include layout="@layout/system_icons" />
66
Daniel Sandler173bae22012-09-25 14:37:42 -040067 <com.android.systemui.statusbar.policy.Clock
68 android:id="@+id/clock"
69 android:textAppearance="@style/TextAppearance.StatusBar.Clock"
70 android:layout_width="wrap_content"
71 android:layout_height="match_parent"
72 android:singleLine="true"
Jorim Jaggi5172dc22014-09-02 14:59:06 +020073 android:paddingStart="7dp"
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -070074 android:gravity="center_vertical|start"
Daniel Sandler2b697352011-07-22 16:23:09 -040075 />
Jorim Jaggie19b1ac2014-09-11 18:17:56 +020076 </com.android.keyguard.AlphaOptimizedLinearLayout>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080077 </LinearLayout>
Dan Sandler44c0dfd2014-06-09 11:26:16 -040078
Joe Onoratofd52b182010-11-10 18:00:52 -080079</com.android.systemui.statusbar.phone.PhoneStatusBarView>