blob: a91493003bb5457be8559fdfe588847f2f87710c [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
47 android:id="@+id/scrim_behind"
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
Xiaohui Chen9f967112016-01-07 14:14:06 -080059 <include layout="@layout/status_bar_expanded"
Daniel Sandler8e18dc72012-05-17 00:44:59 -040060 android:layout_width="match_parent"
Dan Sandlereceda3d2014-07-21 15:35:01 -040061 android:layout_height="match_parent"
Selim Cinekcd812c82017-02-01 20:53:25 -080062 android:visibility="invisible" />
Daniel Sandler8e18dc72012-05-17 00:44:59 -040063
shawnlin4ef7ca52018-05-11 16:44:42 +080064 <include layout="@layout/brightness_mirror" />
65
Lucas Dupincfcf1ae2018-03-02 16:01:10 -080066 <com.android.systemui.statusbar.ScrimView
67 android:id="@+id/scrim_in_front"
Jorim Jaggiecc798e2014-05-26 18:14:37 +020068 android:layout_width="match_parent"
Jim Miller959ea562015-02-11 19:51:05 -080069 android:layout_height="match_parent"
Adrian Roos2f2bd9a2015-06-04 18:11:14 -070070 android:importantForAccessibility="no"
71 sysui:ignoreRightInset="true"
Lucas Dupin71f38042019-05-10 16:23:04 -070072 />
Jorim Jaggiecc798e2014-05-26 18:14:37 +020073
Lucas Dupin2e838ac2019-04-17 16:50:58 -070074 <LinearLayout
75 android:id="@+id/lock_icon_container"
76 android:orientation="vertical"
77 android:layout_width="wrap_content"
78 android:layout_height="wrap_content"
79 android:layout_marginTop="@dimen/status_bar_height"
80 android:layout_gravity="top|center_horizontal">
81 <com.android.systemui.statusbar.phone.LockIcon
82 android:id="@+id/lock_icon"
83 android:layout_width="@dimen/keyguard_lock_width"
84 android:layout_height="@dimen/keyguard_lock_height"
85 android:layout_gravity="center_horizontal"
86 android:layout_marginTop="@dimen/keyguard_lock_padding"
87 android:contentDescription="@string/accessibility_unlock_button"
88 android:src="@*android:drawable/ic_lock"
89 android:scaleType="center" />
90 <com.android.keyguard.KeyguardMessageArea
91 android:id="@+id/keyguard_message_area"
92 style="@style/Keyguard.TextView"
93 android:layout_width="wrap_content"
94 android:layout_height="wrap_content"
95 android:layout_marginTop="@dimen/keyguard_lock_padding"
96 android:gravity="center"
97 android:singleLine="true"
98 android:ellipsize="marquee"
99 android:focusable="true" />
100 </LinearLayout>
Daniel Sandlerc4f2a562012-05-04 11:55:46 -0400101</com.android.systemui.statusbar.phone.StatusBarWindowView>