blob: 9716a00a7f72f46af6bb65e37dd271725f335e94 [file] [log] [blame]
Daniel Sandlera310af82012-04-24 01:20:13 -04001<?xml version="1.0" encoding="utf-8"?>
2<!--
3**
4** Copyright 2012, 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<!-- This is the combined status bar / notification panel window. -->
Daniel Sandlerc4f2a562012-05-04 11:55:46 -040021<com.android.systemui.statusbar.phone.StatusBarWindowView
Daniel Sandlera310af82012-04-24 01:20:13 -040022 xmlns:android="http://schemas.android.com/apk/res/android"
Adrian Roos2f2bd9a2015-06-04 18:11:14 -070023 xmlns:sysui="http://schemas.android.com/apk/res-auto"
Jorim Jaggi5cf17872014-03-26 18:31:48 +010024 android:layout_width="match_parent"
25 android:layout_height="match_parent"
Jim Miller959ea562015-02-11 19:51:05 -080026 android:fitsSystemWindows="true">
Daniel Sandlera310af82012-04-24 01:20:13 -040027
Selim Cineka0fad3b2014-09-19 17:20:05 +020028 <com.android.systemui.statusbar.BackDropView
Dan Sandler16128f42014-05-21 12:48:22 -040029 android:id="@+id/backdrop"
30 android:layout_width="match_parent"
31 android:layout_height="match_parent"
32 android:visibility="gone"
Adrian Roos2f2bd9a2015-06-04 18:11:14 -070033 sysui:ignoreRightInset="true"
Dan Sandler16128f42014-05-21 12:48:22 -040034 >
35 <ImageView android:id="@+id/backdrop_back"
36 android:layout_width="match_parent"
37 android:scaleType="centerCrop"
38 android:layout_height="match_parent" />
39 <ImageView android:id="@+id/backdrop_front"
40 android:layout_width="match_parent"
41 android:layout_height="match_parent"
42 android:scaleType="centerCrop"
43 android:visibility="invisible" />
Selim Cineka0fad3b2014-09-19 17:20:05 +020044 </com.android.systemui.statusbar.BackDropView>
Dan Sandler16128f42014-05-21 12:48:22 -040045
Lucas Dupincfcf1ae2018-03-02 16:01:10 -080046 <com.android.systemui.statusbar.ScrimView
Lyn Hanbde48202019-05-29 19:18:29 -070047 android:id="@+id/scrim_for_bubble"
Jorim Jaggiecc798e2014-05-26 18:14:37 +020048 android:layout_width="match_parent"
Jim Miller959ea562015-02-11 19:51:05 -080049 android:layout_height="match_parent"
Adrian Roos2f2bd9a2015-06-04 18:11:14 -070050 android:importantForAccessibility="no"
51 sysui:ignoreRightInset="true"
52 />
Jorim Jaggiecc798e2014-05-26 18:14:37 +020053
Jason Monkaa573e92017-01-27 17:00:29 -050054 <FrameLayout
55 android:id="@+id/status_bar_container"
Daniel Sandlera310af82012-04-24 01:20:13 -040056 android:layout_width="match_parent"
Jason Monkaa573e92017-01-27 17:00:29 -050057 android:layout_height="wrap_content" />
Daniel Sandlera310af82012-04-24 01:20:13 -040058
Lyn Hanbde48202019-05-29 19:18:29 -070059 <com.android.systemui.statusbar.ScrimView
60 android:id="@+id/scrim_behind"
61 android:layout_width="match_parent"
62 android:layout_height="match_parent"
63 android:importantForAccessibility="no"
64 sysui:ignoreRightInset="true"
65 />
66
Xiaohui Chen9f967112016-01-07 14:14:06 -080067 <include layout="@layout/status_bar_expanded"
Daniel Sandler8e18dc72012-05-17 00:44:59 -040068 android:layout_width="match_parent"
Dan Sandlereceda3d2014-07-21 15:35:01 -040069 android:layout_height="match_parent"
Selim Cinekcd812c82017-02-01 20:53:25 -080070 android:visibility="invisible" />
Daniel Sandler8e18dc72012-05-17 00:44:59 -040071
shawnlin4ef7ca52018-05-11 16:44:42 +080072 <include layout="@layout/brightness_mirror" />
73
Lucas Dupincfcf1ae2018-03-02 16:01:10 -080074 <com.android.systemui.statusbar.ScrimView
75 android:id="@+id/scrim_in_front"
Jorim Jaggiecc798e2014-05-26 18:14:37 +020076 android:layout_width="match_parent"
Jim Miller959ea562015-02-11 19:51:05 -080077 android:layout_height="match_parent"
Adrian Roos2f2bd9a2015-06-04 18:11:14 -070078 android:importantForAccessibility="no"
79 sysui:ignoreRightInset="true"
Lucas Dupin71f38042019-05-10 16:23:04 -070080 />
Jorim Jaggiecc798e2014-05-26 18:14:37 +020081
Lucas Dupin2e838ac2019-04-17 16:50:58 -070082 <LinearLayout
83 android:id="@+id/lock_icon_container"
84 android:orientation="vertical"
85 android:layout_width="wrap_content"
86 android:layout_height="wrap_content"
87 android:layout_marginTop="@dimen/status_bar_height"
88 android:layout_gravity="top|center_horizontal">
89 <com.android.systemui.statusbar.phone.LockIcon
90 android:id="@+id/lock_icon"
91 android:layout_width="@dimen/keyguard_lock_width"
92 android:layout_height="@dimen/keyguard_lock_height"
93 android:layout_gravity="center_horizontal"
94 android:layout_marginTop="@dimen/keyguard_lock_padding"
95 android:contentDescription="@string/accessibility_unlock_button"
96 android:src="@*android:drawable/ic_lock"
97 android:scaleType="center" />
98 <com.android.keyguard.KeyguardMessageArea
99 android:id="@+id/keyguard_message_area"
100 style="@style/Keyguard.TextView"
101 android:layout_width="wrap_content"
102 android:layout_height="wrap_content"
103 android:layout_marginTop="@dimen/keyguard_lock_padding"
104 android:gravity="center"
105 android:singleLine="true"
106 android:ellipsize="marquee"
107 android:focusable="true" />
108 </LinearLayout>
Daniel Sandlerc4f2a562012-05-04 11:55:46 -0400109</com.android.systemui.statusbar.phone.StatusBarWindowView>