• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2018 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17
18<!-- This is the combined status bar / notification panel window. -->
19<com.android.systemui.statusbar.phone.StatusBarWindowView
20    xmlns:android="http://schemas.android.com/apk/res/android"
21    xmlns:sysui="http://schemas.android.com/apk/res-auto"
22    android:layout_width="match_parent"
23    android:layout_height="match_parent"
24    android:fitsSystemWindows="true">
25
26    <com.android.systemui.statusbar.BackDropView
27        android:id="@+id/backdrop"
28        android:layout_width="match_parent"
29        android:layout_height="match_parent"
30        android:visibility="gone"
31        sysui:ignoreRightInset="true"
32    >
33        <ImageView android:id="@+id/backdrop_back"
34            android:layout_width="match_parent"
35            android:layout_height="match_parent"
36            android:scaleType="centerCrop"/>
37        <ImageView android:id="@+id/backdrop_front"
38            android:layout_width="match_parent"
39            android:layout_height="match_parent"
40            android:scaleType="centerCrop"
41            android:visibility="invisible"/>
42    </com.android.systemui.statusbar.BackDropView>
43
44    <com.android.systemui.statusbar.ScrimView
45        android:id="@+id/scrim_behind"
46        android:layout_width="match_parent"
47        android:layout_height="match_parent"
48        android:importantForAccessibility="no"
49        sysui:ignoreRightInset="true"
50    />
51
52    <LinearLayout
53        android:layout_width="match_parent"
54        android:layout_height="@dimen/status_bar_height"
55        android:orientation="vertical"
56    >
57        <FrameLayout
58            android:id="@+id/status_bar_container"
59            android:layout_width="match_parent"
60            android:layout_height="wrap_content"
61            android:visibility="gone"
62        />
63
64        <include layout="@layout/car_top_navigation_bar"
65            android:layout_width="match_parent"
66            android:layout_height="wrap_content"
67        />
68    </LinearLayout>
69
70    <include layout="@layout/brightness_mirror"/>
71
72    <ViewStub android:id="@+id/fullscreen_user_switcher_stub"
73        android:layout_width="match_parent"
74        android:layout_height="match_parent"
75        android:layout="@layout/car_fullscreen_user_switcher"/>
76
77    <include layout="@layout/notification_center_activity"
78        android:layout_width="match_parent"
79        android:layout_height="match_parent"
80        android:layout_marginBottom="@dimen/navigation_bar_height"
81        android:visibility="invisible"/>
82
83    <include layout="@layout/headsup_container"
84        android:layout_width="match_parent"
85        android:layout_height="match_parent"
86        android:visibility="invisible"/>
87
88    <include layout="@layout/status_bar_expanded"
89        android:layout_width="match_parent"
90        android:layout_height="match_parent"
91        android:visibility="invisible"/>
92
93    <com.android.systemui.statusbar.ScrimView
94        android:id="@+id/scrim_in_front"
95        android:layout_width="match_parent"
96        android:layout_height="match_parent"
97        android:importantForAccessibility="no"
98        sysui:ignoreRightInset="true"
99    />
100
101</com.android.systemui.statusbar.phone.StatusBarWindowView>
102